Skip to content

fix: verify digest using Authorization header URI#149

Merged
shenjinti merged 1 commit intorestsend:mainfrom
yeoleobun:fix/issue-146-auth-header-uri
Mar 2, 2026
Merged

fix: verify digest using Authorization header URI#149
shenjinti merged 1 commit intorestsend:mainfrom
yeoleobun:fix/issue-146-auth-header-uri

Conversation

@yeoleobun
Copy link
Collaborator

@yeoleobun yeoleobun commented Mar 2, 2026

Summary

  • verify uri from auth header instead of Ruequest-URI
  • workaround for rsip bug that capitalized uri from restsend/rsipstack@4224695

Fix #146

Use the raw Authorization/Proxy-Authorization header value during server-side digest verification so REGISTER auth matches the exact uri= bytes sent by the client.

This mirrors the raw-header verifier added in restsend/rsipstack@42246956 and fixes the deskphone registration failure reported in restsend#146.

Tests cover both issue restsend#146 scenarios:
- request-uri vs Authorization uri mismatch
- lowercase transport parameter case preservation
@shenjinti shenjinti merged commit 6231db5 into restsend:main Mar 2, 2026
1 check passed
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.

Unable to register a deskphone device, due to digest authentication failure

2 participants