[wp-trac] [WordPress Trac] #24623: Redirection goes wrong with an additional parameter at /?feed=rss

WordPress Trac noreply at wordpress.org
Sat Jun 22 10:27:56 UTC 2013


#24623: Redirection goes wrong with an additional parameter at /?feed=rss
--------------------------+-----------------------------
 Reporter:  sweetie089    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Feeds         |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 If a permalink accesses "/?feed=rss&foo=bar" in the state of being
 invalid, it will redirect to "/?feed=rss2 foo=bar" and "404 Not Found"
 will be displayed.

 procedure for reproducing:
 * If a permalink is effective, repeal.
 * Delete cash of a browser.
 *   "http://DOMAIN/?feed=rss&withcomments=1" is accessed.
 Result:
 *   "404 Not Found" is displayed.

 The cause was carrying out the miswritten word of the backreference by
 preg_replace.
 patch is miswritten word correction simply.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24623>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list