Closed (fixed)
Project:
Secure Pages
Version:
6.x-1.8
Component:
Code
Priority:
Normal
Category:
Bug report
Reporter:
Created:
26 May 2009 at 16:49 UTC
Updated:
11 Mar 2010 at 10:52 UTC
Jump to comment: Most recent
In securepages.module there are matches to $_GET['q'] and $_REQUEST['q']. I'm getting an extra prefix slash in my redirects due to the prefix slash not being taken out of Drupal (I think).
For instance, http://my.site.com redirects to https://my.site.com//admin (note the double slashes before admin) when I click on the Administer ink.
The easy solution is to replace all the lines referencing $path to trim out the slash, I guess:
$path = !empty($_REQUEST['q']) ? trim($_REQUEST['q'],'/') : '';
But is this because of a configuration issue somewhere? I'm running 6.10
Comments
Comment #1
Anonymous (not verified) commentedCouldn't reproduce your problem.
Please reopen if your still experiencing problems and i'll see if i can help.
Best,
Paul Booker