mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed #5983 -- Made iriencode filter respect safe strings. Patch from
SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -106,6 +106,7 @@ floatformat.is_safe = True | ||||
| def iriencode(value): | ||||
|     """Escapes an IRI value for use in a URL.""" | ||||
|     return force_unicode(iri_to_uri(value)) | ||||
| iriencode.is_safe = True | ||||
| iriencode = stringfilter(iriencode) | ||||
|  | ||||
| def linenumbers(value, autoescape=None): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user