We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf54d3f commit 33f8998Copy full SHA for 33f8998
1 file changed
python/ql/test/experimental/query-tests/Security/CWE-074-TemplateInjection/ChevronSsti.py
@@ -5,13 +5,13 @@
5
app = Flask(__name__)
6
7
8
-@route('/other')
+@app.route('/other')
9
def a():
10
template = request.args.get('template')
11
return chevron.render(template, {"key": "value"})
12
13
14
-@route('/other2')
+@app.route('/other2')
15
def b():
16
17
args = {
0 commit comments