OpenCPN/plugins

Metadata Validation Tools don't fail on 404 page not found errors

Opened this issue · 0 comments

Plugins with invalid web site URL's pass validation checks.

In check-metadata-urls.sh, the test is:

if not status or status >= 400:
dot = 'E'
stats.url_errors.append(path + ": " + tag + ": " + str(status))
r = False

For example the info url for squiddio is https://opencpn.org/OpenCPN/plugins/squiddio.html which returns with the following page https://opencpn.org/404page.shtml

I guess that the OpenCPN web site is redirecting the invalid url to the landing page and this not returning a 404 error ?

The plugins without valid info url's are:

squiddio
otidalplan
objsearch
nv charts
Earth Explorer
DashboardSK