[wp-trac] [WordPress Trac] #26878: Question mark in the url doesn't return 404 and can be abused

WordPress Trac noreply at wordpress.org
Mon Jan 20 18:20:24 UTC 2014


#26878: Question mark in the url doesn't return 404 and can be abused
--------------------------+----------------------
 Reporter:  Andrew8192    |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Query         |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |
--------------------------+----------------------

Comment (by Andrew8192):

 There's really nothing that I can do to redirect this kind of urls to a
 "not found" or 404 page? what if I we add a rule to redirect all the query
 requests that start with "/" example:


 {{{
 ?/
 ?/example
 ?/example/etc
 }}}

 Would it affect the other core functions?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26878#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list