[wp-trac] [WordPress Trac] #10552: Add get_search_link()

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 24 13:03:20 UTC 2010


#10552: Add get_search_link()
-------------------------+--------------------------------------------------
 Reporter:  sirzooro     |       Owner:  dd32                     
     Type:  enhancement  |      Status:  reviewing                
 Priority:  normal       |   Milestone:  3.0                      
Component:  Permalinks   |     Version:  2.8.3                    
 Severity:  normal       |    Keywords:  needs-patch needs-testing
-------------------------+--------------------------------------------------

Comment(by sirzooro):

 There is a problem when someone will include slash in search - you will
 get url like `site.com/search/foo%2Fbar/` . But when you will try to open
 it in browser, you will get 404. And there is an interesting part - for
 some reason this url is not handled by WP, but error is returned by Apache
 itself (at least on my dev machine with Windows).

 When you do not encode slahses (url like `site.com/search/foo/bar/`), you
 will get 404 served by WP.

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


More information about the wp-trac mailing list