[wp-trac] [WordPress Trac] #37758: The Link Checker tool does not detect some links

WordPress Trac noreply at wordpress.org
Sun Aug 21 22:09:49 UTC 2016


#37758: The Link Checker tool does not detect some links
--------------------------+------------------------------
 Reporter:  Djibs13       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  4.6
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  administration
--------------------------+------------------------------

Comment (by azaozz):

 Right. In order to not flag all the various
 [http://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml URI
 schemes], it only checks links that start with `http`. Note that there is
 another small piece of regex in both link dialogs that prepends `http://`
 to URIs that do not look like local.

 On the other hand this can be changed to trigger on anything other than
 `/^(https?|ftp|mailto):|^\//i` as these uncommon schemes are probably used
 very very rarely.

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


More information about the wp-trac mailing list