Hello, I have a problem with allowing an domain that has an umlaut e.g"ü". Normally I can translate the Domain as specified INDA2008 and use e.g xn--example-t2a.de instead of exampleü.de. But here is the problem Chrome/Chromuim sends the international version (xn--example-t2a.de), but Firefox the localized(exampleü.de). Chrome works fine but there is no way allow the localized version. I tried to use an ü or ü (which is the xml encoding for ü). Interesting messages form log (I've replaced some information with **): wsd-04720-4720 16:17:21.406203 [ loolwsd ] INF Adding trusted WOPI host: [**\\.xn--***\\.de].| wsd/Storage.cpp:82 wsd-04720-4720 16:17:21.406245 [ loolwsd ] INF Adding trusted WOPI host: [**\\.**ü**\\.de].| wsd/Storage.cpp:82 loolforkit version details: 5.3.2 - 122a449 wsd-04720-4722 16:17:33.883299 [ client_ws_0001 ] WRN Poco::Net::DNS::resolveOne("**.**ü**.de") failed: Host not found: **.**ü**.de wsd-04720-4722 16:17:33.883412 [ client_ws_0001 ] WRN Poco::Net::IPAddress("**.**ü**.de") failed: Invalid address: **.**ü**.de wsd-04720-4722 16:17:33.884279 [ client_ws_0001 ] INF WOPI host is not on the same host as the WOPI client: "". Connection is not allowed.| wsd/Storage.cpp:133 wsd-04720-4722 16:17:33.884431 [ client_ws_0001 ] ERR Error in client request handler: No acceptable WOPI hosts found matching the target host [**.**ü**.de] in config.| wsd/LOOLWSD.cpp:1009 wsd-04720-4722 16:17:33.884467 [ client_ws_0001 ] TRC Sending to Client [error: cmd=internal kind=unauthorized].| wsd/LOOLWSD.cpp:1011 wsd-04720-4722 16:17:33.884581 [ client_ws_0001 ] DBG Sent frame: error: cmd=internal kind=unauthorized| ./wsd/LOOLWebSocket.hpp:146 wsd-04720-4722 16:17:33.884619 [ client_ws_0001 ] TRC Abnormal close handshake.| wsd/LOOLWSD.cpp:1029 wsd-04720-4722 16:17:33.884687 [ client_ws_0001 ] INF Finished GET request handler for session [0001].| wsd/LOOLWSD.cpp:1035 wsd-04720-4722 16:17:33.884716 [ client_ws_0001 ] INF ~ClientSession dtor [ToClient-0001]. wsd-04720-4722 16:17:33.884766 [ client_ws_0001 ] DBG Already sent response!?| wsd/LOOLWSD.cpp:1226 wsd-04720-4722 16:17:33.884795 [ client_ws_0001 ] DBG Thread finished.| wsd/LOOLWSD.cpp:1237 I'm running the loolwsd verison from the tag libreoffice-5.3.2.2 with poco 1.7.8 Best regards, Thore Sommer
I'm afraid I won't be able to reproduce this, but I can guess punycode encoding is missing.
Although it could be worked around, basically it is a bug (or missing feature) in Poco library, that LibreOffice Online uses. I files and upstream bug, and it seems that Poco developers are willing to fix this: https://github.com/pocoproject/poco/issues/2164
The upstream Poco bug has been fixed.
FYI, Poco 1.9.0 release contains the fix. LibreOffice Online has to be linked with Poco 1.9.0.