bugsnag / bugsnag-python

Official BugSnag error monitoring and error reporting for django, flask, tornado and other python apps.
https://docs.bugsnag.com/platforms/python/
MIT License
86 stars 42 forks source link

Django `request` tab not following `params_filters` #317

Closed justmobilize closed 2 years ago

justmobilize commented 2 years ago

Describe the bug

Here the url is being built with build_absolute_uri() and thus not being updated with params_filters like the GET data does.

Steps to reproduce

  1. configure Bugsnag with params_filters
  2. raise an exception from a GET request with a param in params_filters
  3. See it's filtered in the GET block
  4. See it's not filtered in the request.url

Environment

Example Repo

Example code snippet

# (Insert code sample to reproduce the problem)

In django settings setting:

BUGSNAG["params_filters"] = ("key", "token")

image

Error messages: ``` ```
luke-belton commented 2 years ago

Hi @justmobilize - thanks for raising this with us. We're going to look at a fix for this and will keep you updated on this thread 👍

justmobilize commented 2 years ago

Awesome!

yousif-bugsnag commented 2 years ago

This is now fixed in v4.2.1 🎉