Commit a39150d7 authored by Bong Cosca's avatar Bong Cosca
Browse files

Bug fix: Remove query string from PATH

parent 6f272940
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1494,7 +1494,7 @@ final class Base {
			$headers['X-Forwarded-Proto']=='https'?'https':'http';
		$base=preg_replace('/\/[^\/]+$/','',$_SERVER['SCRIPT_NAME']);
		preg_match('/'.preg_quote($base,'/').'(.*)/',
			$_SERVER['REQUEST_URI'],$path);
			parse_url($_SERVER['REQUEST_URI'],PHP_URL_PATH),$path);
		call_user_func_array('session_set_cookie_params',
			$jar=array(
				'expire'=>0,