[wp-trac] [WordPress Trac] #22899: Don't use arrays when passing to load-scripts.php
WordPress Trac
noreply at wordpress.org
Wed Dec 12 22:53:58 UTC 2012
#22899: Don't use arrays when passing to load-scripts.php
-----------------------------+------------------------------
Reporter: georgestephanis | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch |
-----------------------------+------------------------------
Comment (by Otto42):
The problem isn't the use of the arrays, I think. The problem is really
that the brackets of [ ] are not URL encoded.
What's happening most often is that there are rules in an .htaccess file
that's directly blocking square brackets in requests. If these were
properly URL encoded, then they wouldn't be hitting these rules and PHP
would still be treating them properly.
You have to encode & as & , and you have to brackets as %5B and %5D to
be correct with the spec.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22899#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list