diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-09-22 14:52:59 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-09-22 14:58:02 -0400 |
commit | 0babe1c6acd5b6e19ba9906251763c28b17f3b39 (patch) | |
tree | c3043f2bc9f41fc8bbe64cb3a500a1f0e29ee741 /doc/build/conf.py | |
parent | c2f392e0be52dc67d1b9770ab8cce6a9c736d547 (diff) | |
download | mako-0babe1c6acd5b6e19ba9906251763c28b17f3b39.tar.gz |
replace "dot" with "set not containing whitespace"
Fixed issue in lexer in the same category as that of :ticket:`366` where
the regexp used to match an end tag didn't correctly organize for matching
characters surrounded by whitespace, leading to high memory / interpreter
hang if a closing tag incorrectly had a large amount of unterminated space
in it. Credit to Sebastian Chnelik for locating the issue.
As Mako templates inherently render and directly invoke arbitrary Python
code from the template source, it is **never** appropriate to create
templates that contain untrusted input.
Fixes: #367
Change-Id: I2f3a8665e92c1b6efcf36b1dba6e58fe0975b7da
Diffstat (limited to 'doc/build/conf.py')
0 files changed, 0 insertions, 0 deletions