-
Notifications
You must be signed in to change notification settings - Fork 68
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
settings.py: add 'proxy_images' #24
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May I ask, what's the intent of the setting (i.e., is the extra complexity really worth it)?
I left some feedback on the code for reference, but this sort of feature would be cleaner if it acted in server.py at the routing level. It should still route through the server itself but not through Tor, so that the browser doesn't send any identifying info to the image servers that it doesn't have to.
proxy_site
could be replaced with an intermediate handler which checks the setting for lh3.googleusercontent.com
, yt3.ggpht.com
, and ytimg.com
in server.py.
The motivation stems from an addon I use, imagus.
No, that would defeat the purpose of this patch. Also I think it's unlikely they use (image) data requests for user identification. |
The addon uses element's |
No description provided.