Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Can't think of a better way to describe this issue.
I'm using the securepages module to force my site to be server over SSL on the cart pages.
I also have some ad blocks on there pages, but the images served by the ad module aren't being served over SSL.
Not a security issue, but does flag a warning on some browsers.
Regards
Alan
Comments
Comment #1
alanburke CreditAttribution: alanburke commentedComment #2
Jeremy CreditAttribution: Jeremy commentedWhen the ad module serves advertisements, it generally does not bootstrap Drupal (for performance reasons) -- because of this, it can not respect securepages module settings.
Marking as a feature request, as it would be great to come up with a generic solution for this. And then marking as postponed, as it's not something I plan to work on. Patches welcome.
Comment #3
alanburke CreditAttribution: alanburke commentedThanks Jeremy.
I don't have any idea to solve this, but my workaround for now, for anybody following, is to hide the Ad module blocks on the pages served 'via' securepages module.
Alan
Comment #4
Agileware CreditAttribution: Agileware commentedSubscribe.
Comment #5
nigelheap CreditAttribution: nigelheap commentedBienvenido a el futuro
You could just use // in the module instead of the protocol.
See this for more detail: http://stackoverflow.com/questions/4659345/is-there-any-downside-for-using-a-leading-double-slash-to-inherit-the-protocol-i