[wp-trac] [WordPress Trac] #41578: Assure that $_SERVER['PATH_INFO'] is available
WordPress Trac
noreply at wordpress.org
Mon Aug 7 14:32:27 UTC 2017
#41578: Assure that $_SERVER['PATH_INFO'] is available
----------------------------+------------------------------
Reporter: glehner | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version: 4.8.1
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+------------------------------
Comment (by ayeshrajans):
Never heard of the Gatling server. It looks pretty cool!
I'm not sure if setting it to `''` is the correct default value though.
For example`wp-includes/rest-api/class-wp-rest-server.php:295` sets the
default `$_SERVER['PATH_INFO']` variable to `/`, which I believe is
accurate.
By the way, Apache does not set this variable either, (neither in `php-
fpm` /w `mpm_event`, nor in `mod_php`), and Wordpress runs just fine.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41578#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list