[wp-trac] [WordPress Trac] #36638: Detect broken URLs in the editor

WordPress Trac noreply at wordpress.org
Tue Jul 26 03:02:49 UTC 2016


#36638: Detect broken URLs in the editor
-------------------------------------------------+-------------------------
 Reporter:  iseulde                              |       Owner:  azaozz
     Type:  task (blessed)                       |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.6
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-unit-tests needs-testing       |     Focuses:  ui
  needs-patch                                    |
-------------------------------------------------+-------------------------

Comment (by azaozz):

 Replying to [comment:45 Presskopp]:
 > What about 'localhost' or 'https://localhost' and all those strange
 things?

 This is a valid URL however it should never appear on a "live" web page.
 Even think some browsers restrict such links.

 > https://mathiasbynens.be/demo/url-regex

 I like the 8th and 11th regex from there (may need to convert then to JS).
 They are listed as failing to detect some of the numeric URLs but think
 this is a "feature". We don't want to flag URLs to private network
 segments, etc.

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


More information about the wp-trac mailing list