Explorar o código

Patch erreur de redirection

isundil %!s(int64=10) %!d(string=hai) anos
pai
achega
9f7442f337
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
 			}
 		}