Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#19694 closed defect (bug) (duplicate)

Search RSS2 Bug with Special Characters

Reported by: bhoogterp's profile bhoogterp Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.3
Component: General Keywords:
Focuses: Cc:


The RSS2 feed link automatically generated by wp_head() breaks and gives a 404 page if you have certain special characters...

Consider the search "John 3:16" (quotes included).

The search query results in: /index.php?s="John%203:16"
The search RSS2 feed link: /index.php/search/"John+3%3A16"/feed/rss2/

The first one works fine, but the second, which is automatically generated by WordPress' head function fails. Shows up in Google Webmaster tools as "Not Found".

Change History (2)

#1 @bhoogterp
12 years ago

Probably should have done this first, but it's the quote characters surrounding the search query that breaks the rss feed.

#2 @SergeyBiryukov
12 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.