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

cleanup servlet request attribute #3527

Merged
merged 7 commits into from
Feb 14, 2024

Conversation

SylvainJuge
Copy link
Member

@SylvainJuge SylvainJuge commented Feb 14, 2024

  • remove duplicated method
  • remove attribute after use
  • add test assertion for elastic attribute leak

What does this PR do?

Removes the servlet request attributes used to capture spring MVC exceptions after they have been used. This helps prevent undesirable side effects that could be related to the presence of extra request attributes.

Checklist

  • This is a bugfix

@github-actions github-actions bot added agent-java community Issues and PRs created by the community triage labels Feb 14, 2024
Copy link

👋 @SylvainJuge Thanks a lot for your contribution!

It may take some time before we review a PR, so even if you don’t see activity for some time, it does not mean that we have forgotten about it.

Every once in a while we go through a process of prioritization, after which we are focussing on the tasks that were planned for the upcoming milestone. The prioritization status is typically reflected through the PR labels. It could be pending triage, a candidate for a future milestone, or have a target milestone set to it.

jackshirazi
jackshirazi previously approved these changes Feb 14, 2024
@SylvainJuge SylvainJuge marked this pull request as ready for review February 14, 2024 12:53
CHANGELOG.asciidoc Show resolved Hide resolved
@SylvainJuge SylvainJuge enabled auto-merge (squash) February 14, 2024 13:51
@SylvainJuge SylvainJuge merged commit a53182f into elastic:main Feb 14, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-java community Issues and PRs created by the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants