aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/HttpUtils/ServerUrlTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Fixes #477: support multi reverse proxy with comma syntaxArthurHoaro2016-02-281-0/+13
| | | | Going through multiple reverse proxy will store multiple scheme and port in HTTP header separated by a comma. Shaarli will use the first one to generate server_url.
* HTTP: move server URL functions to `HttpUtils.php`VirtualTam2015-09-141-0/+135
Relates to #333 Modifications: - refactor server URL utility functions - do not access global `$_SERVER` variables - add test coverage - improve readability - apply coding conventions Signed-off-by: VirtualTam <virtualtam@flibidi.net>