clarin-dspace icon indicating copy to clipboard operation
clarin-dspace copied to clipboard

Are urls in description checked?

Open kosarko opened this issue 5 years ago • 2 comments

Does the linkchecker invoked as one of the curation tasks check urls in description field?

kosarko avatar Jun 05 '19 11:06 kosarko

Does the linkchecker invoked as one of the curation tasks check urls in description field?

Experimenting with this on our test installation (by editing dc.description and running the "Check that Metadata URLs are working" curation task) reveals that the linkchecker does check the description field, but apparently only if the field begins with (or is) a URL. For instance, dc.description="http://github.com is a website" triggers a failed link check (- http://github.com is a website = 0 - FAILED), while dc.description="Website http://github.com" triggers no check.

cyplas avatar Dec 19 '19 05:12 cyplas

dc.description="Website http://github.com" triggers no check.

Obviously this is less than ideal. In fact, it means that we lie when we say URLs in metadata are checked.

dc.description="http://github.com is a website" triggers a failed link check (- http://github.com is a website = 0 - FAILED)

I don't understand why this should fail though, except if the redirect to https fails it, which I don't thik it should.

TomazErjavec avatar Dec 20 '19 17:12 TomazErjavec