[wp-trac] [WordPress Trac] #38709: Unlimited query for invalid post names

WordPress Trac noreply at wordpress.org
Fri Dec 16 21:26:49 UTC 2022


#38709: Unlimited query for invalid post names
--------------------------+------------------------------
 Reporter:  david.binda   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:  4.6.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  performance
--------------------------+------------------------------
Changes (by rebasaurus):

 * Attachment "core.patch" added.

 Maybe I'm oversimplifying it, but could the fix be just checking the value
 after it has ran through sanitize_title_for_query()?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/38709>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list