CollaboraOnline/richdocumentscode

Typo in proxy.php

RealKoenisch opened this issue · 4 comments

Typo in line 85 proxy.php

{ $remoteFontConfig = "--o:remote_font_config.url=https://" . $_SERVER['HTTP_HOST'] . preg_replace("/richdocumentscode.*$/", "richdocuments/settings/fonts.json", _SERVER['REQUEST_URI']); }

correct
{ $remoteFontConfig = "--o:remote_font_config.url=https://" . $_SERVER['HTTP_HOST'] . preg_replace("/richdocumentscode.*$/", "richdocuments/settings/fonts.json", $_SERVER['REQUEST_URI']); }

the $ is missing at the 2nd $_SERVER

This might fix #226 🤔
EDIT: Tested on my end, but still didn't work.

This might fix #226 🤔

Yep. Same issue as #226
After this fix it works again!

Great catch, updated proxy.php line 85 and it is now fixed here as well, thanks.

timar commented