mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Update UnSafeComparisonOfSensitiveInfo.py
This commit is contained in:
@@ -8,7 +8,7 @@ from flask import Flask
|
||||
from flask import request
|
||||
|
||||
@app.route('/bad', methods = ['POST', 'GET'])
|
||||
def bad(password):
|
||||
def bad():
|
||||
if request.method == 'POST':
|
||||
password = request.form['pwd']
|
||||
return password == "test"
|
||||
|
||||
Reference in New Issue
Block a user