While trying to integrate Secure Pages' new form protection with an older version of the domain module (7.x-3.4), it became apparent that the form alter for the module assumes a relative url for the form action and chokes on anything else. It became such a mess that I've created an alternative that simply allows the user to toggle whether or not SecurePpages ought to be applied to forms via a new set of radio buttons on the admin menu. In my case, just turning it off allowed me to get the other benefits of the latest version without having to seriously rework the website I've been working on. I've uploaded the patch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mrmikedewolf’s picture

mrmikedewolf’s picture

This one is better, the filepaths don't start in the docroot.

mrmikedewolf’s picture

Apologies I missed a couple of lines. Here is the final patch.

The main reason I had to implement this is because the domain access module makes all urls absolute. Allowing the option to turn off form checks is valuable in this case.

mrmikedewolf’s picture

Status: Active » Closed (fixed)

See here if the problems you are having are related to the Domain Access module.