Skip to content

Commit

Permalink
Merge pull request #174 from sabw8217/master
Browse files Browse the repository at this point in the history
Remove Django request body from payload. It can contain sensitive data.
  • Loading branch information
ezarowny authored Jul 3, 2017
2 parents e78e344 + 8ed9b17 commit 0e699ee
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions rollbar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -966,11 +966,6 @@ def _build_django_request_data(request):
'user_ip': _wsgi_extract_user_ip(request.environ),
}

try:
request_data['body'] = request.body
except:
pass

request_data['headers'] = _extract_wsgi_headers(request.environ.items())

return request_data
Expand Down

0 comments on commit 0e699ee

Please sign in to comment.