Currently, the fields in the query string are not sanitized for special characters; using html.escape() we can remove HTML tag characters to prevent them from making their way back out into the rendered template.
html.escape()
The dispatcher is not really the right place to handle such escaping. The handlers are not expecting html-escaped strings.
Closed in favor of #4215
Pull-Request has been closed by mikem
Currently, the fields in the query string are not sanitized for special characters; using
html.escape()we can remove HTML tag characters to prevent them from making their way back out into the rendered template.