Changes between Initial Version and Version 1 of Ticket #39586, comment 4
- Timestamp:
- 01/16/2017 03:34:01 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #39586, comment 4
initial v1 1 1 IMHO this would be a candidate for [https://developer.wordpress.org/reference/functions/wp_fix_server_vars/ wp_fix_server_vars()] if a webserver configuration is incorrectly passing the full URI in what we expect to only contain a path. 2 2 3 We'd need to document (on this ticket) the server circumstances under which the scenario is possible, and also the contents of the _unaltered_`$_SERVER` variables, and what we mangle them to.3 We'd need to document (on this ticket) the server circumstances under which the scenario is possible, and also the contents of the ''unaltered'' `$_SERVER` variables, and what we mangle them to. 4 4 5 5 There have been cases in the past where we'd mangle an otherwise good `$_SERVER` variable to something incorrect because of something odd the server was passing in a variable though.