Skip to content

Commit

Permalink
use Request.Unvalidated.Form to prevent Request Validation exceptions
Browse files Browse the repository at this point in the history
fixes #49 and #12
  • Loading branch information
richardversluis committed Mar 18, 2016
1 parent 3835070 commit e2e3d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RollbarSharp/Builders/RequestModelBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static RequestModel CreateFromHttpRequest(HttpRequest request, HttpSessio
m.Session = session.ToDictionary();

m.QueryStringParameters = request.QueryString.ToDictionary();
m.PostParameters = request.Form.ToDictionary();
m.PostParameters = request.Unvalidated.Form.ToDictionary();

// add posted files to the post collection
try
Expand Down

0 comments on commit e2e3d4a

Please sign in to comment.