hook_boot redirects the user to an HTTPS version of the site if he/she accesses the site through HTTP and has an WMDsecureLogin cookie (a flag that indicates they logged in at some point).
During the redirect, the URL is modified and the location is turned into one that uses ?q=
However, that doesn't seem to keep any of the other query parameters. Is this on purpose?
Why not just use request_uri?
hook_boot redirects the user to an HTTPS version of the site if he/she accesses the site through HTTP and has an WMDsecureLogin cookie (a flag that indicates they logged in at some point).
During the redirect, the URL is modified and the location is turned into one that uses ?q= However, that doesn't seem to keep any of the other query parameters. Is this on purpose? Why not just use request_uri?