[wp-trac] [WordPress Trac] #18685: GET Requests with hostname in them causes wrong redirect
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 16 14:34:54 UTC 2011
#18685: GET Requests with hostname in them causes wrong redirect
--------------------------+-----------------------------
Reporter: Ueland | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.2.1
Severity: normal | Keywords: needs-patch
--------------------------+-----------------------------
Hi!
I have noticed that my Android phone when using Cyanogenmod with default
browser does some "special" things when on 3G. (It does not happend via
WiFi)
It appears that the hostname is sent with every GET-request. Its common to
only send the path in a GET-request but the HTTP secification also allows
for the use of hostname within a GET-request.
My test page ( http://h3x.no/dump/test.php ) shows the hostname in the
REQUEST_URI via 3G, and skips the hostname when on WiFi.
This causes Wordpress(i suspect) to redirect me to the wrong page.
Example:
I want the page:
http://h3x.no/2011/09/12/getting-windows-2008-server-uptime-via-the-
command-line
My phone sends me to:
http://h3x.no/2011/09/12/getting-windows-2008-server-uptime-via-the-
command-line/http/h3x.no/2011/09/12/getting-windows-2008-server-uptime-
via-the-command-line
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18685>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list