[wp-trac] [WordPress Trac] #13961: search query_vars bug when using search base

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 31 03:43:29 UTC 2011


#13961: search query_vars bug when using search base
-----------------------------------------------+---------------------------
 Reporter:  shidouhikari                       |       Owner:
     Type:  defect (bug)                       |      Status:  new
 Priority:  normal                             |   Milestone:  Future
Component:  Query                              |  Release
 Severity:  normal                             |     Version:  3.0
 Keywords:  3.2-early has-patch needs-testing  |  Resolution:
-----------------------------------------------+---------------------------
Changes (by bennettmcelwee):

 * cc: bennettmcelwee (added)


Comment:

 A note for testers. This patch should also fix a related issue to do with
 spaces. The URL
 {{{
 http://domain.com/search/search%20string
 }}}
 should carry out a search for "search string", but it currently searches
 for "search%20string" instead and thus fails to find any results.

 For some live examples, try these:

  * http://wpdevel.wordpress.com/?s=open%20source
  * http://wpdevel.wordpress.com/?s=open+source
  * http://wpdevel.wordpress.com/search/open%20source
  * http://wpdevel.wordpress.com/search/open+source

 The first two work and the third fails, but oddly enough the fourth one
 works... except that the displayed search string still has the plus sign
 in it.

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


More information about the wp-trac mailing list