czim / file-handling

File Handling Helper
MIT License
14 stars 9 forks source link

Fixed issue where variantUrlsForTarget() returns invalid urls #13

Closed TSVitor closed 2 years ago

TSVitor commented 2 years ago

The variantUrlsForTarget() method is not checking if the url coming from the storage is valid. This PR fixes that.

I checked manually if the sanitized url is acessible in our storage by renaming this file in AWS and accessing this link to go to the file.

czim commented 2 years ago

👍 thanks!