Ticket #6995 (closed defect (bug): fixed)
wp-app.php picking up query string on some hosts
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.6 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | atompub |
| Cc: | josephscott |
Description
Some hosts (such as Dreamhost) pass the query string along with the $_SERVERPATH_INFO?. These hosts pass another value $_SERVERORIG_PATH_INFO?. The attached patch will use ORIG_PATH_INFO in wp-app.php where applicable, so that query string data doesn't leak in and confuse the path logic.
Attachments
Change History
singpolyma — 4 years ago
-
attachment
wp-app.patch
added
comment:1
josephscott — 4 years ago
- Cc josephscott added
New patch for detecting $_SERVERORIG_PATH_INFO?
comment:2
singpolyma — 4 years ago
New patch works equally well.
- Status changed from new to closed
- Resolution set to fixed
Is this the same thing that causes the problem with step=2 being thrown into the Blog and WordPress urls as reported on these threads?
http://wordpress.org/support/topic/179334 http://wordpress.org/support/topic/177004 http://wordpress.org/support/topic/175554 http://wordpress.org/support/topic/179845

The Patch