-
-
Notifications
You must be signed in to change notification settings - Fork 608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Need to Protect Extensions #7
Comments
Hi! Thanks for trying out imgproxy! |
For example A source image URL could be something like Some browser could support WebP (and some don't), a javascript can check them out. When the browser supports WebP, and the It would be more convenient to use. |
I've implemented this feature, I'll pull a request if you have considered it's acceptable. |
As far as I know frontend, you need to do this replacement before images start to load. To do so, you'll have to put image url to something like Finally, I don't want to break back compatibility for now. So I'm going to close the issue. |
The supported format of browsers/clients needed to be checked on the browser side or on the app side, if the extensions can be changed on the user side, it would be more convenient to use.
I've read in the document, the reason to protect URLs is to prevent DDOS attacks, but as the support of the extensions is limited, the harm is slight and I think the benefit is worth the cost?
By the way, thanks for your great efforts.
This project is awesome!
The text was updated successfully, but these errors were encountered: