summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2009-01-16 09:00:24 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2009-01-16 09:00:24 +0000
commit7cef4ecd19b83e6592a1afaedf6aff6fcb7b9e6e (patch)
treee4960379210e9589821078cd6e9d383e5da23240 /tests
parentad93542c8fea08e8506369aef27b1c1f84d96c3c (diff)
[1.0.X] Fixed #10014 -- Don't crash when using debug template tag inside a block node tag.
Returning non-ASCII characters from TextNode.__repr__ was causing problems in the BlockNode.__repr__ method (and probably in other places we don't know about yet). We now forcibly convert to ascii and replace any unconvertible characters, rather than returning some moderately corrupted data in the non-ASCII case. Backport of r9757 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions