Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Author: indigo Reviewer: exarkun Fixes: #5275 Add comment value mangling to `twisted.web.template` so that comments are not emitted which will break an SGML-ish or XML parser on the receiving end. Since there is no real escaping rule for comments in an HTML document, the value is mangled irreversibly. git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@32678 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
- Loading branch information
Showing
3 changed files
with
54 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
twisted.web.template now escapes more inputs to comments which require escaping in the output. |