Skip to content

Modified header name as per standard#5

Open
AkashSahai wants to merge 1 commit intoOWASP-Benchmark:mainfrom
AkashSahai:TrustBound_HeaderName_Fix
Open

Modified header name as per standard#5
AkashSahai wants to merge 1 commit intoOWASP-Benchmark:mainfrom
AkashSahai:TrustBound_HeaderName_Fix

Conversation

@AkashSahai
Copy link
Copy Markdown

Modified header name as per standard.
In this repo, the app is created with Flask in app.py and the pinned dependencies include both Flask and Werkzeug in requirements.txt.

Because header parsing happens in the Flask/Werkzeug request stack before the test code sees the request, headers containing underscores are dropped there, so BenchmarkTest00656 never receives my_user_id and the intended code path does not execute.

Modified header name as per standard.
In this repo, the app is created with Flask in app.py and the pinned dependencies include both Flask and Werkzeug in requirements.txt.

Because header parsing happens in the Flask/Werkzeug request stack before the test code sees the request, headers containing underscores are dropped there, so BenchmarkTest00656 never receives my_user_id and the intended code path does not execute.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant