AtlasOfLivingAustralia / biocache-store

Occurrence processing, indexing and batch processing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image service URL checks dont equate http and https URLs

djtfmartin opened this issue · comments

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.