소스 검색

Patch erreur de redirection

isundil 10 년 전
부모
커밋
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();
 			}
 		}