-
Notifications
You must be signed in to change notification settings - Fork 35
Request tab includes cookies #152
Copy link
Copy link
Open
Labels
awaiting feedbackAwaiting a response from a customer. Will be automatically closed after approximately 2 weeks.Awaiting a response from a customer. Will be automatically closed after approximately 2 weeks.
Description
Activity
Metadata
Metadata
Assignees
Labels
awaiting feedbackAwaiting a response from a customer. Will be automatically closed after approximately 2 weeks.Awaiting a response from a customer. Will be automatically closed after approximately 2 weeks.
Expected behavior
Cookies are filtered from request headers metadata, as
Cookieis included in the default filters.Observed behavior
Requesttab contains aheadersmap withcookiepresent.Steps to reproduce
We’re using
bugsnag-springwith Spring Boot 2.0.9 and Tomcat 9.0.30.Version
3.6.1
Additional information
It looks like the issue is that the underlying servlet implementation stores header keys case-insensitively, so the default
Cookiefilter does not match. When it comes to filtering, I think it would make sense to make all comparisons case-insensitive, so that a filter for"password"matches"USER_PASSWORD","adminPassword", etc.