summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
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
^^^^^