Project

General

Profile

« Previous | Next » 

Revision 13611

bugfix: web/index.php: full directory index: appending query string: need to use $_SERVER["QUERY_STRING"], not $_SERVER["HTTP_AUTHORIZATION"] for this

View differences:

trunk/web/index.php
244 244
# full directory index
245 245
# to fix bug, only display if invoked as "__.org/", not "__.org/index.php"
246 246
if (substr($_SERVER["SCRIPT_URI"], -1) === '/')
247
	fpassthru(fopen($_SERVER["SCRIPT_URI"]."all?".$_SERVER["QUERY_STRING"], "r"));
247
	fpassthru(fopen($_SERVER["SCRIPT_URI"]."all?".$_SERVER["HTTP_AUTHORIZATION"], "r"));
248 248
?>
249 249
	</body>
250 250
</html>

Also available in: Unified diff