Posted by Gábor Hojtsy on March 29, 2011 at 11:29am
3 followers
Jump to:
| Project: | Mollom |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Reproducible with the following setup:
1. Use secure pages module to secure some of your paths
2. Now to avoid mixed content warnings, you should set your /mollom/* paths to use https too for the benefit of those pages.
3. However, if you still have a form mollom enabled on a non-https page, when switching to audio, the client code only gets a redirect (which it does not handle).
Result: audio captcha will not replace the image captcha, despite repeated cycling clicks on the image/audio captcha links.
Comments
#1
Sorry, but I'm a bit confused here.
$.getJSON(Drupal.settings.basePath + 'mollom/captcha/' + newCaptchaType + '/' + formBuildId + '/' + mollomSessionId,Hence, if the originating (parent) page is on SSL, then also this request is on SSL. And vice-versa.
Therefore, I don't quite understand why you have to manually configure /mollom/* paths to force them to use HTTPS in the first place?
#2
So I think this entire issue boils down to the question why HTTPS is enforced for /mollom/* paths in the SecurePages configuration in the first place. Is there any strong reason for doing that?
#3
Well, I've removed /mollom/* from the securepages setup, and it was broken the same way, the audio was requested from http, so I cannot reproduce it using the same domain as you've explained.
#4
I ran into the same issue where I could not get the audio function to work with secure pages.
I added "mollom/*" to the ignore pages field within the secure pages settings. It fixed my issue.