Skip to content

HTTP Digest Auth password encoding#3435

Merged
robertcheramy merged 3 commits intoytti:masterfrom
EinGlasVollKakao:master
Mar 4, 2025
Merged

HTTP Digest Auth password encoding#3435
robertcheramy merged 3 commits intoytti:masterfrom
EinGlasVollKakao:master

Conversation

@EinGlasVollKakao
Copy link
Contributor

@EinGlasVollKakao EinGlasVollKakao commented Feb 28, 2025

Pre-Request Checklist

  • Passes rubocop code analysis (try rubocop --auto-correct)
  • Tests added or adapted (try rake test)
  • Changes are reflected in the documentation
  • User-visible changes appended to CHANGELOG.md

Description

With this PR the password string used for digest authentication gets automatically url encoded which is needed if you have special characters in your password.
If you don't do this you just get a URI::InvalidComponentError with msg "bad password component" error.

@robertcheramy robertcheramy merged commit d679f87 into ytti:master Mar 4, 2025
7 checks passed
@syn-bit syn-bit mentioned this pull request Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants