Open timar opened 5 days ago
Local make run
, I renamed writer-edit.fodt to writer-edit%.fodt.
Error: 500 - Internal Server Error!
Cannot process the request - Bad URI syntax: URI encoding: not a hex digit /browser/e729f7ed07/cool.html
Please contact your system administrator.
The "not a hex digit" message comes from poco, https://github.com/austinsc/Poco/blob/f459e1ddb12354edd5c9908b2d53ec129bdcfa98/Foundation/src/URI.cpp#L617
Bad URI syntax exception when file name contains '%' percent character. E.g. someone has a file in Nextcloud with the name test%.odt, then it won't open in Collabora Online. In the log we will find the "Bad URI syntax" exception.
We had this problem long ago, fixed it (cf. 898c47fbb42b6093c6d31bdd08c605f9b0bc0de2), had protected the fix with unit test. But regression happened nevertheless.