Make WordPress Core

Opened 9 years ago

Closed 8 years ago

#11153 closed defect (bug) (fixed)

Search query should be urlencoded in get_search_feed_link() and get_search_comments_feed_link()

Reported by: tenpura Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.9
Component: General Keywords: has-patch
Focuses: Cc:


get_search_feed_link() and get_search_comments_feed_link() do not urlencod the search query properly.

They return URLs like

http://example.com/?s=あ い&feed=rss2

which should be like


Attachments (1)

11153.diff (966 bytes) - added by tenpura 9 years ago.
urlencode search query

Download all attachments as: .zip

Change History (2)

9 years ago

urlencode search query

#1 @azaozz
8 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [12395]) Urlencode the search query in get_search_feed_link() and get_search_comments_feed_link(), props tenpura, fixes #11153

Note: See TracTickets for help on using tickets.