Skip to content

Commit

Permalink
Fixed comment issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lfama committed Nov 4, 2024
1 parent 5f884fa commit 13da3bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/flask/security/audit/flask-cors-misconfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def get_data():


@app.route('/special-data', methods=['GET'])
# ruleid: flask-cors-misconfiguration
# CORS applied only to this route
# ruleid: flask-cors-misconfiguration
@cross_origin(supports_credentials=True, origins="*")
def get_special_data():
# This route uses the CORS decorator for route-specific CORS settings
Expand Down

0 comments on commit 13da3bd

Please sign in to comment.