Many modules, such as Panels and Media, use custom AJAX callbacks for various purposes. If the option to "switch back to http pages when there are no matches" is enabled, and you haven't added all of these callbacks to the list of secure pages, they will die silently and without explanation.
For instance:
- Enable the Media browser for a file or content type, and configure admin pages to use SSL and switch to HTTP for non-admin pages.
- Go to add a node or file.
- Click the 'select' button to launch the media browser. You'll simply get a blank white modal, with no error messages. This is because securepages is trying to force the callback to use http.
I think a bit of documentation is a good fix to start- just a simple warning below the option to switch back.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | securepages-2237845-1.patch | 637 bytes | danepowell |
Comments
Comment #1
danepowell commentedAttached patch adds a warning.
Comment #2
damienmckennaOne site I maintain also has problems hitting an infinite loop on the front page when this option is enabled.
Comment #3
astonvictor commentedD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.