﻿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
29179	format_html() can falsely interpret a strack trace as a str.format replacement field	Stephan Michaud	nobody	"Hi team,

We have an internal page where we display stack traces on a web page. We've been using the `format_html` before rendering the data to the template, which has worked well in the past.
However, one of the stack traces contained a dictionary definition as such:
{{{#!python

data = urllib.parse.urlencode({'request': self.get_serialized_data()})

}}}
Once that string reached the format_html function, it would cause the following Exception:
{{{#!python
KeyError: ""'request'""
}}}
due to the call to `format()` recognizing the dictionary as a replacement field."	Bug	closed	Utilities	1.10	Normal	wontfix	format_html, string		Unreviewed	0	0	0	0	0	0
