[wp-trac] [WordPress Trac] #10458: lighttpd/1.4.22 does not populate _REQUEST['action'] for wp-login.php
WordPress Trac
wp-trac at lists.automattic.com
Tue Jul 21 14:11:31 UTC 2009
#10458: lighttpd/1.4.22 does not populate _REQUEST['action'] for wp-login.php
--------------------------+-------------------------------------------------
Reporter: myrond | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: General | Version: 2.8
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by myrond):
oops ... this comment should be formatted a bit better
{{{
//
// Main
//
if (strpos($_SERVER['SERVER_SOFTWARE'], 'lighttpd') !== false)
{
$_lighty_url = $base_url.$_SERVER['REQUEST_URI'];
$_lighty_url = @parse_url($_lighty_url);
$_SERVER['QUERY_STRING'] = $_lighty_url['query'];
parse_str($_lighty_url['query'], $_lighty_query);
foreach ($_lighty_query as $key => $val)
$_GET[$key] = $_REQUEST[$key] = $val;
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10458#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list