﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
17550	WSGI request to /subdir/subdir returns the index page	Diederik van der Boor	Aymeric Augustin	"When hosting a Django folder in a subdirectory, using:

{{{
    WSGIScriptAlias /foo/bar  /path/to/wsgi.py
}}}

Then the index page is also available at `/foo/bar/foo/bar`  (repeated script prefix, without a slash).
When stepping through the Django code, this seems to be caused by the following line in the `WSGIRequest.__init__()` method:

{{{
    if not path_info or path_info == script_name:
}}}
"	Bug	closed	Core (URLs)	1.4-alpha-1	Normal	fixed		Grzegorz Szczepańczyk Rafał Jagoda	Accepted	1	0	0	0	0	0
