﻿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
20169	Request path incorrectly assembled when SCRIPT_NAME has trailing slash	Julien Phalip	nobody	"If the request's `SCRIPT_NAME`, or the `FORCE_SCRIPT_NAME` setting, has a trailing slash, then the path is incorrectly assembled and contains one too many slash. See for example:

{{{#!python
>>> from io import BytesIO
>>> from django.core.handlers.wsgi import WSGIRequest
>>> request = WSGIRequest({'PATH_INFO': '/somepath/', 'SCRIPT_NAME': '/PREFIX/', 'REQUEST_METHOD': 'get', 'wsgi.input': BytesIO(b'')})
>>> request.path
u'/PREFIX//somepath/'
}}}

The attached pull request should fix this in a backwards-compatible way."	Bug	closed	HTTP handling	1.5	Normal	fixed		bmispelon@…	Accepted	1	0	0	0	0	0
