AtlasOfLivingAustralia / biocache-store

Occurrence processing, indexing and batch processing
Other
7 stars 24 forks source link

Image service URL checks dont equate http and https URLs #364

Open djtfmartin opened 4 years ago

djtfmartin commented 4 years ago

Biocollect data references http urls (e.g. http://images.ala.org.au/image/proxyImageThumbnailLarge?imageId=3e1a5740-a4bd-465a-b034-c8b803790f3c) as oppose to https URLs.

This means the check to see if the URL is an image-service URL fails resulting in the image-service attempting to download the image from itself and then performing a duplicate test (MD5hash).

A minor enhancement to ignore the protocol will alleviate this, and hopefully improve loading performance.