Skip to content

Commit 33f8998

Browse files
committed
Python: Minor fix in test
1 parent cf54d3f commit 33f8998

File tree

1 file changed

+2
-2
lines changed
  • python/ql/test/experimental/query-tests/Security/CWE-074-TemplateInjection

1 file changed

+2
-2
lines changed

python/ql/test/experimental/query-tests/Security/CWE-074-TemplateInjection/ChevronSsti.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
app = Flask(__name__)
66

77

8-
@route('/other')
8+
@app.route('/other')
99
def a():
1010
template = request.args.get('template')
1111
return chevron.render(template, {"key": "value"})
1212

1313

14-
@route('/other2')
14+
@app.route('/other2')
1515
def b():
1616
template = request.args.get('template')
1717
args = {

0 commit comments

Comments
 (0)