--- path_redirect.module	2007-12-24 12:48:49.000000000 -0600
+++ path_redirect.module	2007-12-24 13:08:54.000000000 -0600
@@ -385,7 +385,15 @@ function path_redirect_delete_confirm_su
  */
 function path_redirect_goto($path = '', $query = NULL, $fragment = NULL, $http_response_code = 302) {
 
-  $url = url($path, $query, $fragment, TRUE);
+  $url = $path;
+  if (!preg_match('/^[a-z]+:\/\//', $url)) {
+    global $base_url;
+    $url = $base_url . '/' . $url;
+  }
+
+  $url .= (empty($query)    ? '' : '?' . $query);
+  $url .= (empty($fragment) ? '' : '#' . $fragment);
+
   // Remove newlines from the URL to avoid header injection attacks.
   $url = str_replace(array("\n", "\r"), '', $url);
 
