[wp-trac] [WordPress Trac] #15209: $_SERVER['REQUEST_URI'] Doesn't always work correctly
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 25 18:43:16 UTC 2010
#15209: $_SERVER['REQUEST_URI'] Doesn't always work correctly
--------------------------+-------------------------------------------------
Reporter: RanY | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by RanY):
Actually I'm using PHP5.
{{{
echo $_SERVER['REQUEST_URI'];
wp_fix_server_vars();
echo '<br />' . $_SERVER['REQUEST_URI'];
exit();
}}}
Results:
{{{
/wp-admin/edit.php?post_type=page
/wp-admin/edit.php?post_type=page?post_type=page
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15209#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list