From a3bbc38d545390f605f9bed947c9fdfe2ffa6055 Mon Sep 17 00:00:00 2001 From: Ville Skyttä Date: Tue, 3 Nov 2015 11:55:10 +0200 Subject: [1.9.x] Fixed #25668 -- Misc spelling errors Backport of 3ee18400ae9b916da1a3bee9c9c630fd223a2d3c from master --- django/utils/encoding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/utils/encoding.py') diff --git a/django/utils/encoding.py b/django/utils/encoding.py index 48fde393a7..6bc285d899 100644 --- a/django/utils/encoding.py +++ b/django/utils/encoding.py @@ -223,7 +223,7 @@ def escape_uri_path(path): # reserved = ";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" | "$" | "," # unreserved = alphanum | mark # mark = "-" | "_" | "." | "!" | "~" | "*" | "'" | "(" | ")" - # The list of safe characters here is constructed substracting ";", "=", + # The list of safe characters here is constructed subtracting ";", "=", # and "?" according to section 3.3 of RFC 2396. # The reason for not subtracting and escaping "/" is that we are escaping # the entire path, not a path segment. -- cgit v1.3