<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - iframe is not loaded when WOPI host is running on a non-standard port"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=122451">122451</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>iframe is not loaded when WOPI host is running on a non-standard port
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice Online
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>timar74@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>My test was:
1. docker run -d -p 8080:80 nextcloud
2. My IP is 192.168.100.20. I opened <a href="http://192.168.100.20:8080">http://192.168.100.20:8080</a> 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 <a href="http://192.168.100.20:9980">http://192.168.100.20:9980</a>
The iframe is not loaded because of CSP violation. Since:
commit 296aba1beae64a65e4e86631a9c1458073ec8c2e
Author: Samuel Mehrbrodt <<a href="mailto:Samuel.Mehrbrodt@cib.de">Samuel.Mehrbrodt@cib.de</a>>
Date: Fri Nov 23 09:33:13 2018 +0100
Improve allowed frame-ancestors
and
commit 8f1abe48397d7da4629fb50324289ad39102cfc7
Author: Samuel Mehrbrodt <<a href="mailto:Samuel.Mehrbrodt@cib.de">Samuel.Mehrbrodt@cib.de</a>>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>