Skip to content

[pull] main from django:main#475

Merged
pull[bot] merged 2 commits into
threatcode:mainfrom
django:main
Jun 26, 2026
Merged

[pull] main from django:main#475
pull[bot] merged 2 commits into
threatcode:mainfrom
django:main

Conversation

@pull

@pull pull Bot commented Jun 26, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

bouaik9 and others added 2 commits June 26, 2026 13:28
…D5 password hashers.

An unnecessary force_str() call in the PBKDF2 hasher raised
UnicodeDecodeError on perfectly valid password values.

The MD5 hasher had a similar issue, however the same commit that
introduced the bug also happened to allow bytes in general, so preserve
the support while removing the constraint on UTF-8 validity by
concatenating like:

    force_bytes(salt) + force_bytes(password)

Regression in 78fac1b.

Co-authored-by: Vishy <vis.pypi@gmail.com>
@pull pull Bot locked and limited conversation to collaborators Jun 26, 2026
@pull pull Bot added the ⤵️ pull label Jun 26, 2026
@pull pull Bot merged commit 356e5b0 into threatcode:main Jun 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants