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

WordPress Trac noreply at wordpress.org
Fri Jul 8 13:22:36 UTC 2022


#36827: Regular expression in wp_guess_url() is slightly too permissive.
-------------------------------------------------+-------------------------
 Reporter:  cfinke                               |       Owner:  curdin
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.1
Component:  General                              |     Version:  3.4
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch good-first-bug has-unit-   |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by petitphp):

 I took a look at the latest patch and I didn't see any issues, tests ran
 successfully.

 I also checked the edge case mentioned in
 [https://core.trac.wordpress.org/ticket/36827#comment:8, comment#8] and
 the patch did fix it.

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


More information about the wp-trac mailing list