Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions python/flask.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
from flask import Flask, request
import bleach
app = Flask(__name__)
# comment
# comment
# curl -X GET "http://localhost:5000/tainted7/touch%20HELLO"
@app.route("/tainted7/<something>")
def test_sources_7(something):
# comment
# comment
os.system(request.remote_addr)
# comment
# comment
return "foo"
# comment
# comment
@app.route("/sanitized/<something>")
def test_sources_7(something):
data = flask.request.args.get("key")
Expand All @@ -21,3 +21,6 @@ def test_sources_7(something):
# comment
if __name__ == "__main__":
app.run(debug=True)

# comment
# comment