Files
codeql/python/ql/test/library-tests/web/flask/Routing.ql
2019-11-11 17:18:26 +01:00

10 lines
193 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()