Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.x] Avoid reflecting back user data in exception messages #6990

Merged
merged 1 commit into from Jun 13, 2023

Conversation

spericas
Copy link
Member

@spericas spericas commented Jun 12, 2023

Avoid reflecting back user data in exception messages. There is a new flag in RequestException that can be used to control when it is safe to include a message in a response entity and when it is not. It is by default set to true (safe) but is now set to false in Http1Prologue to avoid data leaks. New test added. See issue #6986.

@spericas spericas added this to the 4.0.0 milestone Jun 12, 2023
@spericas spericas requested a review from barchetta June 12, 2023 19:25
@spericas spericas self-assigned this Jun 12, 2023
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 12, 2023
… flag in RequestException that can be used to control when it is safe to include a message in a response entity and when it is not. It is by default set to true (safe) but is now set to false in Http1Prologue to avoid data leaks. New test added. See issue helidon-io#6986.
@spericas spericas merged commit 24048d6 into helidon-io:main Jun 13, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x OCA Verified All contributors have signed the Oracle Contributor Agreement. security webserver
Projects
Backlog
  
Awaiting triage
Development

Successfully merging this pull request may close these issues.

None yet

2 participants