Closed garrettr closed 7 years ago
I have tested this in the development environment and confirmed that the Piwik tracking code uses a protocol-relative URL instead of hardcoding http://
.
Rebasing this on master
im still seeing hard-coded right now but it could be a CDN problem. going to try hitting locally against server to confirm.
@msheiny Gut feeling: it's an issue with Ansible idempotence and pip. Can you confirm that the updated django-analytical dependency was installed?
yeeppp -- something funky is up, I dug into site-packages and confirm your change isnt showing up.. debuging
Okay -- I'm all good for go. This is deployed now. I had to manually push it through so I'll have to reevaluate our pip automation scripts and what we can do to work-around this issue in the future.
django-analytical's Piwik integration introduced a mixed content issue on Secure the News for users with Javascript disabled because it hard-coded an http scheme for the fallback tracking pixel. I fixed the issue upstream in https://github.com/jcassee/django-analytical/pull/101, but the maintainers haven't cut a new release yet, so for now we will pin to the fixed commit on the upstream master branch.