--- securepages.module	2008-11-17 04:09:58.000000000 +0200
+++ securepagesBoaz.module	2009-02-12 22:01:45.000000000 +0200
@@ -12,7 +12,8 @@
 function securepages_boot() {
   global $base_url;
 
-  $path = isset($_GET['q']) ? $_GET['q'] : '';
+  //$path = isset($_GET['q']) ? $_GET['q'] : '';
+  $path = isset($_REQUEST['q']) ? $_REQUEST['q'] : '';
   if ($path == 'admin/settings/securepages/test') {
     if (securepages_is_secure()) {
       header('HTTP/1.1 200 OK');
@@ -158,7 +159,7 @@ function securepages_form_alter(&$form, 
       $base_path = base_path();
       $path = (!strncmp($path, $base_path, drupal_strlen($base_path)) ? drupal_substr($path, drupal_strlen($base_path)) : $path);
     }
-    $path = drupal_get_normal_path($path);
+    //$path = drupal_get_normal_path($path);
     $query = drupal_query_string_encode($query);
     $page_match = securepages_match($path);
     if ($page_match && !securepages_is_secure()) {
@@ -195,7 +196,8 @@ function securepages_link_alter(&$links,
  * insecure version of the page.
  */
 function securepages_redirect() {
-  $path = isset($_GET['q']) ? $_GET['q'] : '';
+  //$path = isset($_GET['q']) ? $_GET['q'] : '';
+  $path = isset($_REQUEST['q']) ? $_REQUEST['q'] : '';
   $page_match = securepages_match($path);
 
   if ($_POST) {
