Closed zzzeek closed 2 years ago
this will crash the Lexer due to the regex:
from mako.lexer import Lexer template = "<%0" + '"' * 3000 Lexer(template).parse
Mike Bayer has proposed a fix for this issue in the main branch:
fix tag regexp to match quoted groups correctly https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/4053
this will crash the Lexer due to the regex: