summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorUnai Zalakain <unai@gisa-elkartea.org>2014-10-31 17:43:34 +0200
committerTim Graham <timograham@gmail.com>2014-11-03 07:59:19 -0500
commitc548c8d0d1112d2c4bace2eebf73ede35300d842 (patch)
treea0d8e3089302139c6a24b6262d37ab2eb55fb4c8 /docs
parentd3db878e4beff057400dd780c24f3601a5d31f95 (diff)
Fixed #18456 -- Added path escaping to HttpRequest.get_full_path().
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/utils.txt7
-rw-r--r--docs/releases/1.8.txt4
2 files changed, 11 insertions, 0 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index 4c7368f687..b32f0a838b 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -298,6 +298,13 @@ The functions defined in this module share the following properties:
Returns an ASCII string containing the encoded result.
+.. function:: escape_uri_path(path)
+
+ .. versionadded:: 1.8
+
+ Escapes the unsafe characters from the path portion of a Uniform Resource
+ Identifier (URI).
+
``django.utils.feedgenerator``
==============================
diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt
index f84294d459..492fad478f 100644
--- a/docs/releases/1.8.txt
+++ b/docs/releases/1.8.txt
@@ -381,6 +381,10 @@ Requests and Responses
* ``WSGIRequestHandler`` now follows RFC in converting URI to IRI, using
``uri_to_iri()``.
+* The :meth:`HttpRequest.get_full_path()
+ <django.http.HttpRequest.get_full_path>` method now escapes unsafe characters
+ from the path portion of a Uniform Resource Identifier (URI) properly.
+
Tests
^^^^^