Searched hist:"19738 e65138f2c83e73e0e8eedf259cd12fdf1c7" (Results 1 – 1 of 1) sorted by relevance
| /dokuwiki/inc/ |
| H A D | init.php | 19738e65138f2c83e73e0e8eedf259cd12fdf1c7 Sat Jul 12 21:26:45 UTC 2014 Enrico Tagliavini <enrico.tagliavini@gmail.com> adding X-Forwarded-Proto support in is_ssl()
This commit adds support for X-Forwarded-Proto in case dokuwiki runs behind a reverse (SSL) proxy, but the connection between the proxy and the web server running dokuwki is plain HTTP. If an authenticated user is accidentaly dropped to HTTP from HTTPS the securecookie setting should be honored and the redirection when saving or canceling a page edit should point to the correct protocol. This happens every time a user hits cancel after editing a page, and likely even after saving. If the webserver doesn't enforce HTTPS the coockie might be sent in clear.
|