From 11284a63d48c84f1d60b5686d55cf8a9f8d64422 Mon Sep 17 00:00:00 2001 From: Unai Zalakain Date: Mon, 4 Nov 2013 00:34:11 +0100 Subject: Fixed #18314 -- Corrected request.build_absolute_uri() handling of paths starting with // ``HttpRequest.build_absolute_uri()`` now correctly handles paths starting with ``//``. ``WSGIRequest`` now doesn't remove all the leading slashes either, because ``http://test/server`` and http://test//server`` aren't the same thing (RFC2396). Thanks to SmileyChris for the initial patch. --- docs/releases/1.8.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index 3e241aff27..50d27aceb8 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -188,7 +188,11 @@ Templates Requests and Responses ^^^^^^^^^^^^^^^^^^^^^^ -* ... +* ``WSGIRequest`` now respects paths starting with ``//``. + +* The :meth:`HttpRequest.build_absolute_uri() + ` method now handles paths + starting with ``//`` correctly. Tests ^^^^^ -- cgit v1.3