Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Edit message as New. Images in mail gone

    Kopano WebApp
    4
    11
    386
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • pixel
      pixel last edited by

      Hi@all,

      I have noted the following. When I edit an e-mail which contains an image in the body (HTML) as new, this image appears correctly in the new mail.

      However, it is removed when sending. Neither the recipient has it nor does it appear in the mail in the sent folder.

      My system:

      Kopano on UCS 4.4-7 errata829
      WebApp: 4.6.3.0+156.1
      Kopano Core: 8.7.17
      Z-Push: 2.6.0+0-0

      mpraunegger 1 Reply Last reply Reply Quote 0
      • mpraunegger
        mpraunegger @pixel last edited by

        We have the same problem, primary using the WebApp/DeskApp.
        Yesterday, I created a new ticket [KS-46535].

        1 Reply Last reply Reply Quote 0
        • robing
          robing Kopano (Inactive) last edited by

          This is a known bug with DOMPurify we are using in WebApp https://jira.kopano.io/browse/KW-3648

          Workaround for now is to turn off DOMPurify in the config.php of WebApp

          Regards Robin,

          Need support?
          Have a look at https://kopano.com/support/ for options.

          Helpful resources:
          https://kopano.com/blog/how-to-get-kopano/
          https://documentation.kopano.io/
          https://kb.kopano.io/

          pixel 1 Reply Last reply Reply Quote 0
          • pixel
            pixel @robing last edited by

            @robing
            I look in the file /etc/kopano/webapp/config.php but I don’t find any option here.

            How do I deactivate DOMPurify? What are the consequences?

            robing 1 Reply Last reply Reply Quote 0
            • robing
              robing Kopano (Inactive) @pixel last edited by

              it should be called define("ENABLE_DOMPURIFY_FILTER", false); and if you don’t have it you didn’t upgrade your config when this was introduced and i believe we changed the default to be enabled in the latest version

              If you disable this the server is responsible for html filtering.
              The only downside can be that it can feel slower to open mails.

              Regards Robin,

              Need support?
              Have a look at https://kopano.com/support/ for options.

              Helpful resources:
              https://kopano.com/blog/how-to-get-kopano/
              https://documentation.kopano.io/
              https://kb.kopano.io/

              pixel 1 Reply Last reply Reply Quote 0
              • pixel
                pixel @robing last edited by

                @robing
                I use Kopano from the UCS Appstore. Could it be because I don’t have this option?

                Can I simply add it?

                robing 1 Reply Last reply Reply Quote 0
                • robing
                  robing Kopano (Inactive) @pixel last edited by

                  No idea i’m not familiar with the UCS version but you can simply add it yes

                  Regards Robin,

                  Need support?
                  Have a look at https://kopano.com/support/ for options.

                  Helpful resources:
                  https://kopano.com/blog/how-to-get-kopano/
                  https://documentation.kopano.io/
                  https://kb.kopano.io/

                  pixel 1 Reply Last reply Reply Quote 0
                  • pixel
                    pixel @robing last edited by

                    @robing It worked. Many thanks

                    longsleep 1 Reply Last reply Reply Quote 0
                    • longsleep
                      longsleep Kopano @pixel last edited by

                      @pixel Please keep in mind that without DOMPurify cannot be recommended from a security point of view.

                      1 Reply Last reply Reply Quote 0
                      • mpraunegger
                        mpraunegger last edited by

                        So, it’s a (critical) bug and the kopano team will fix it as soon as possible?

                        1 Reply Last reply Reply Quote 0
                        • pixel
                          pixel last edited by

                          A colleague needs the function: “Edit as New (with picture)” for a Christmas mailing. I only deactivate it until she has her mailing out.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post