﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
6048	compile_filter() does not allow quote escaping for constant strings	miracle2k	nobody	"{{{ {{ ""abc \"" def"" }} }}}
{{{ {% mytag with value=""abc \"" def"" %} }}}

In both cases, Parser.compile_filter().resolve() will return the string as 

{{{ abc \"" def }}}

Actually, FilterExpression.__init__() in django.template, which does the parsing, calls 

{{{ constant_arg.replace(r'\""', '""')) }}}

when resolving the filter part of the expression - but not for the variable part.

A workaround is:

{{{ 0|default:""abc \"" def"" }}}

"		closed	Template system	dev		worksforme			Unreviewed	0	0	0	0	0	0
