Closed ocdtrekkie closed 3 years ago
Guessing this is the offending commit: https://github.com/zenhack/ttrss-sandstorm/commit/74568df4ff7b7788991636f6fb2ed62012f85c3b since is_server_https()
lives in functions.php which you call here: https://github.com/zenhack/ttrss-sandstorm/blob/master/.sandstorm/rootfs/opt/app/config.php
If we want to avoid re-adding a bunch of stuff to the global context... I kinda wonder if the config.php hack in place now could be replaced with part of the original function, which isn't really that long...
function is_server_https() {
return (!empty($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] != 'off')) || $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https';
}
Yeah, I'd pinned that down; I'll probably just copy the function into config.php, which should be more robust to changes in the future.
This is in my grain log, it leaves nothing in TTRSS's System Log: