Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#19694 closed defect (bug) (duplicate)

Search RSS2 Bug with Special Characters

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

Description

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
15 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
15 years ago

  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed
Note: See TracTickets for help on using tickets.