[wp-trac] [WordPress Trac] #20675: Arrays in query params break WordPress as of latest upgrade
WordPress Trac
wp-trac at lists.automattic.com
Mon May 14 14:15:44 UTC 2012
#20675: Arrays in query params break WordPress as of latest upgrade
--------------------------+-----------------------------
Reporter: singpolyma | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.3.2
Severity: normal | Keywords: needs-patch
--------------------------+-----------------------------
I just upgraded Wordpress to 3.3.2, and one of my plugins (wp-diso-
actionstream) broke, because some of its URLs expect ?include[]=blah
(that is, an array in the query string), which messes up wp-
includes/canonical.php:283
I have replaced the line with:
if(!is_array($_parsed_query)) $_parsed_query = array_map( 'rawurlencode',
$_parsed_query );
and now it works, but I'm not sure what the right solution would be.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20675>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list