imageproxy icon indicating copy to clipboard operation
imageproxy copied to clipboard

Overriding user agent when fetching remote images fails in latest main

Open rishisv opened this issue 4 years ago • 0 comments

We were using the latest docker image (digest: e3e4a1c09a4c) published a few days ago and trying to override the user agent string using the userAgent config option. But using this option, we failed to fetch image using the image proxy against a site that restricts image fetching without user agent being set, f.e. check this image

However, downgrading to docker image version v0.10.0 works fine. So presume recent changes since v0.10.0 or a third party library use or version upgrade may be causing the issue here. I did quickly go over the code commits but nothing struck out to me as suspect though. Filing this issue to report. But please let me know if you are unable to reproduce this issue with latest code in main branch and I can try without docker container and reproduce again. Thank you!

rishisv avatar Jan 18 '21 17:01 rishisv