[Libreoffice-bugs] [Bug 122451] New: iframe is not loaded when WOPI host is running on a non-standard port

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jan 3 20:39:17 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=122451

            Bug ID: 122451
           Summary: iframe is not loaded when WOPI host is running on a
                    non-standard port
           Product: LibreOffice Online
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: timar74 at gmail.com

My test was:
1. docker run -d -p 8080:80 nextcloud
2. My IP is 192.168.100.20. I opened http://192.168.100.20:8080 in browser, set
up Nextcloud and installed Collabora Online app
3. docker run -t -d -p 9980:9980 -e "extra_params=--o:ssl.enable=false"
collabora/code
4. I set up the WOPI URL in Nextcloud to http://192.168.100.20:9980

The iframe is not loaded because of CSP violation. Since:

commit 296aba1beae64a65e4e86631a9c1458073ec8c2e
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date:   Fri Nov 23 09:33:13 2018 +0100

    Improve allowed frame-ancestors

and

commit 8f1abe48397d7da4629fb50324289ad39102cfc7
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date:   Wed Nov 28 09:36:24 2018 +0100

    Only add the host to frame-ancestors

Not a big deal, but ideally port number should be taken into account, in case
someone runs the WOPI host on a non-standard port.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190103/ced7332d/attachment-0001.html>


More information about the Libreoffice-bugs mailing list