When re-writing the form action, the query string is not carried over, only the base bath. Sometimes that query string and the information it contains is needed and this it should be carried over.

See the securepages.module. The action rewrite looks like this:

$form['#action'] = url($path, array('absolute' => TRUE, 'base_url' => securepages_baseurl(TRUE)));

and prob should be more like:

$form['#action'] = url($path, array('query' => $url['query'], 'absolute' => TRUE, 'base_url' => securepages_baseurl(TRUE)));

Comments

astonvictor’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I'm closing it because the issue was created a long time ago without any further steps.

if you still need it then raise a new one.
thanks