Эх сурвалжийг харах

Patch erreur de redirection

isundil 10 жил өмнө
parent
commit
9f7442f337
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/hash.php

+ 1 - 1
src/hash.php

@@ -52,7 +52,7 @@ class CreateController extends Controller
 			if (!$this->randomError && !$this->userError)
 			{
 				header("HTTP/1.0 302 Found");
-				header("Location: ".$_SERVER['HTTP_REQUEST']);
+				header("Location: ".$_SERVER['REQUEST_URI']);
 				die();
 			}
 		}