Files
codeql/python/ql/test/library-tests/web/flask/Routing.ql
2020-01-28 13:05:25 +01:00

7 lines
190 B
Plaintext

import python
import semmle.python.web.flask.General
from ControlFlowNode regex, Function func
where flask_routing(regex, func)
select regex.getNode().(StrConst).getText(), func.toString()