Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sanitize RequestPanel data behind a setting #2074

Open
tim-schilling opened this issue Feb 9, 2025 · 0 comments
Open

Sanitize RequestPanel data behind a setting #2074

tim-schilling opened this issue Feb 9, 2025 · 0 comments

Comments

@tim-schilling
Copy link
Member

We should sanitize the RequestPanel stats behind a setting. This would prevent us from storing passwords from monitored /login/ requests and other sensitive data. While this isn't a major concern while the toolbar runs in memory, when we start storing data this becomes a big concern.

This is somewhat related to #2048 (comment). See https://github.com/django/django/blob/main/django/views/debug.py#L115-L130 for an example on how to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants