Bugfix: Fix basic auth server error on malformed header#8
Merged
joschrag merged 10 commits intoJun 16, 2026
Merged
Conversation
Also removed bloated dependencies and extras.
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
joschrag
added a commit
that referenced
this pull request
Jun 18, 2026
* [fix]: Malformed header now results in 401 response instead of 500 error. * [tests]: Add unit tests with malformed BasicAuth headers. * [chore]: Add ruff checks and rules to pyproject.toml Also removed bloated dependencies and extras. * [fix]: Use constant time comparison for BasicAuth password. * [docs]: Fix all ruff issues after config changes. * [chore]: Bump project to version 1.2.1 * [chore]: Update linting rules for tests files. * [docs]: Fix all ruff issues for test directory and usage.py * [docs]: Fix leftover ruff issues. * [chore]: Bump cryptography to fix GHSA OpenSSL advisory (https://github.com/joschrag/dash-auth-async/security/dependabot/6).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed errors within BasicAuth implementation:
Project changes: