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

WordPress Trac noreply at wordpress.org
Tue Aug 23 06:17:45 UTC 2022


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

 * Attachment "36827.2.diff" added.

 This refreshes `36827.patch` with PHPCS fixes, test standards updates, and
 a new file for the tests: `tests/phpunit/tests/functions/wpGuessUrl.php`.

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


More information about the wp-trac mailing list