Closed kevinbuhmann closed 9 months ago
It looks like this was fixed 3 years ago, the check for forms content was removed. For the cookie, there's an exclusion list to remove cookies, this just acts in the same way being able to remove any other sensitive data works for queries/forms/headers etc.
The request building sets cookies to
null
if the request does not have form data. This appears to be a copy/paste mistake unless there's something I'm missing. Is there a reason to checkrequest.HasFormContentType
before retrieving cookies? https://github.com/MindscapeHQ/raygun4net/blob/master/Mindscape.Raygun4Net.AspNetCore/Builders/RaygunAspNetCoreRequestMessageBuilder.cs#L82The
Cookie
header can leak sensitive cookies if it's not explicitly ignored. I would think theCookie
header should be stripped or at least sanitized if there are ignored cookie names.