Exodus-Privacy / exodus

Platform to audit trackers used by Android application
https://reports.exodus-privacy.eu.org/
GNU Affero General Public License v3.0
643 stars 63 forks source link

Fix icon redirection by adding language code and leading slash to URI #554

Closed codeurimpulsif closed 2 years ago

codeurimpulsif commented 2 years ago

The actual call for application's icon on a report page is /reports/<application-id>/icon which return a 302 to /<language-code>/reports/<application-id>/icon/.

This PR change this first call to directly call the good icon by:

Note: A better solution would be to force django to serve this icon without language redirection.