[wp-trac] [WordPress Trac] #26970: Regex error in url_to_postid()

WordPress Trac noreply at wordpress.org
Fri Jan 31 09:18:27 UTC 2014


#26970: Regex error in url_to_postid()
-------------------------------+-----------------------------
 Reporter:  Denis-de-Bernardy  |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  General            |    Version:  trunk
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 When a rewrite rule contains a negative look-ahead (don't ask…), one of
 the regex used in url_to_postid() breaks.

 The attached patch changes the delimiters to something that won't appear
 in a url.

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


More information about the wp-trac mailing list