[wp-trac] [WordPress Trac] #36827: Regular expression in wp_guess_url() is slightly too permissive.

WordPress Trac noreply at wordpress.org
Mon May 16 16:32:42 UTC 2016


#36827: Regular expression in wp_guess_url() is slightly too permissive.
------------------------------+------------------
 Reporter:  cfinke            |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.6
Component:  General           |     Version:  3.4
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------

Comment (by swissspidy):

 Are there already unit tests for that function? They could catch such
 oversights.

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


More information about the wp-trac mailing list