-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
Favicon fetching incompatible with django-storages S3 #128
Comments
Just a precision: this project is compatible with django-storages and S3, if you are using cloudfront (a public distribution) to host your images. |
Same problem here |
One option to resolve this may be to implement a custom
or with proper url parsing
then in favicon.html
|
What about just removing the version parameter? |
Fixed within |
The generated favicon URL is broken when the static resource is stored on S3 via django-storages. The code here adds
?v={version}
to the end of the URL, but django-storages already has to add parameters to authenticate with S3. The result is a final URL with two?
's, which does not work.https://<s3_bucket>.s3.amazonaws.com/admin-interface/favicon/favicon.ico?AWSAccessKeyId=<access_key_id>&Signature=&Expires=?v=0.15.6
The text was updated successfully, but these errors were encountered: