WebAPI IgnoreFormFieldNames
Mike
Posted on
Apr 17 2016
The ignoreFieldNames feature doesn't seem to be working. I'm using like so in my webConfig file:
RaygunSettings apikey=apikey" ignoreFormFieldNames="password, cardnumber, month, year, creditcard, cvv, cvc"
When I intentionally throw an error in my code, Raygun does not remove these specific fields when logging the http request data. I'm using Raygun WebAPI 5.3.0.
Jason Fauchelle
Raygun
Posted on
Apr 20 2016
Hi Mike,
In Raygun, on the HTTP tab of an exception instance, are these values showing up in the "Query string", "Form values" or the "Raw request data" label?
In the case of "Raw request data", the ignore-form-fields feature does not apply to it. One option here is to set isRawDataIgnored=true in the config settings to ignore the whole thing. As Raygun does not parse the raw request string to filter out values, the other option would be to parse and filter the raw request yourself before the message gets sent to Raygun.
Let me know which label the data is being displayed next to in Raygun, and let me know if you have further questions about this.
-Jason Fauchelle