The MLR-Checker currently gives false positives ("false alarms") if the link has a form like
<a href="/foo">
The short form of a URL:
<a href="/foo">
can actually mean one of the following:
/foo.html
more generally /foo.<extension>
/foo/index.<extension>
where extension
is one of the following: html, htm, shtml, phtml, php, asp, aspx, xml
Define a proper name for the "link without extension"
(prefixOnlyHref
)
When checking local resources, add a special case
for URLs with prefixOnlyHref
.
Add a new configuration item with the extensions to be checked,
the default should be the list given above
(ITEM_NAME_prefixOnlyHrefExtensions
)
Add these defaults to NetUtil
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.