[wp-trac] [WordPress Trac] #18086: Taxonomy Rewrite Strips Spaces from Querystring Vars

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 14 08:57:32 UTC 2011


#18086: Taxonomy Rewrite Strips Spaces from Querystring Vars
--------------------------+------------------------------
 Reporter:  MathSmath     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch


Comment:

 In 3.3-trunk, this happens on regular category archives too.

 The problem is in `redirect_canonical()`:[[BR]]
 http://core.trac.wordpress.org/browser/tags/3.2.1/wp-
 includes/canonical.php#L253

 `$_parsed_query` is `Array( [something] => one two )`, and
 `add_query_arg()` makes it `?something=onetwo`.

 [attachment:18086.patch] fixes this. Not sure if `add_query_arg()` should
 be fixed instead.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18086#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list