date.chapril.org-framadate/app/classes/Framadate
Luc Didry c4ec2bbc41 Fix $_SERVER['SERVER_PORT'] handling
While installing Framadate on Apache, but proxyfied by an Nginx,
$_SERVER['SERVER_PORT'] failed to be correctly handled.

$_SERVER['SERVER_PORT'] is then a string and not an integer, so it was
added in the response of get_server_name() function, breaking all the
css/js links.

I don't know if there is other situations where the bug appears.

Schema of the installation:

Nginx (443) -> Apache2 (80) + Framadate

Please note that using port 80 on Nginx worked.
2018-02-28 17:09:16 +01:00
..
Exception Check that conditions on valueMax are acceptable before adding the vote 2018-02-20 16:47:10 +01:00
Migration rebase and run php-cs-fixer 2018-02-20 14:15:18 +01:00
Repositories rebase and run php-cs-fixer 2018-02-20 14:15:18 +01:00
Security Run php-cs-fixer with a custom config. This may break a lot of things 2018-02-19 19:43:30 +01:00
Services fix issue with check for maxValue 2018-02-20 19:29:56 +01:00
Choice.php Run php-cs-fixer with a custom config. This may break a lot of things 2018-02-19 19:43:30 +01:00
Editable.php Run php-cs-fixer with a custom config. This may break a lot of things 2018-02-19 19:43:30 +01:00
Form.php ValueMax : limit the number of voters per option 2018-02-20 14:15:18 +01:00
FramaDB.php Merge branch 'bugfix/typo-in-comment-header' into 'develop' 2016-08-04 22:26:50 +02:00
Message.php Run php-cs-fixer with a custom config. This may break a lot of things 2018-02-19 19:43:30 +01:00
Utils.php Fix $_SERVER['SERVER_PORT'] handling 2018-02-28 17:09:16 +01:00