Skip to content

Commit 31dc542

Browse files
Sim4n6yoff
authored andcommitted
Update request parameter name in good_1() function
1 parent 70ebc58 commit 31dc542

File tree

1 file changed

+1
-1
lines changed
  • python/ql/src/experimental/Security/CWE-770

1 file changed

+1
-1
lines changed

python/ql/src/experimental/Security/CWE-770/good.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
@app.route("/good_1")
88
def good_1():
9-
r = request.args.get("r", "")
9+
r = request.args.get("file_path", "")
1010

1111
if len(r) <= 1_000:
1212
# Normalize the r using NFKD Unicode normalization

0 commit comments

Comments
 (0)