Make WordPress Core

Opened 5 years ago

Last modified 11 months ago

#37758 new defect (bug)

The Link Checker tool does not detect some links

Reported by: Djibs13 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.6
Component: Editor Keywords: needs-patch good-first-bug
Focuses: administration Cc:



The Link Checker tool in WordPress 4.6 doesn’t detect an error when you put something before ‘http(s)‘. Example: xhttps://www.google.com

And the tool does not detect error if a missing letter in "http".
examples :

Attachments (1)

DJIBS 2016-08-21 à 16.16.31.jpg (47.6 KB) - added by Djibs13 5 years ago.

Download all attachments as: .zip

Change History (6)

#1 @Presskopp
5 years ago

Confirmed. You can enter most kinds of stupidity and it will not fire.

Related: #36638, code to find in [38159]


#2 @Presskopp
5 years ago

  • Keywords needs-patch added

#3 @azaozz
5 years ago

Right. In order to not flag all the various 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.

#5 @noisysocks
11 months ago

  • Keywords good-first-bug added
Note: See TracTickets for help on using tickets.