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

Remove case sensitivity check for scheme and parameters name in Digest Auth #1394

Merged
merged 3 commits into from Mar 28, 2024

Conversation

sandeep-singh-pstmn
Copy link
Contributor

@sandeep-singh-pstmn sandeep-singh-pstmn commented Mar 20, 2024

As per RFC-6617, the scheme and parameters should be handled case-insensitively.
As part of this PR I have removed the case sensitive checks

issue link - postmanlabs/postman-app-support#12727

lib/authorizer/digest.js Show resolved Hide resolved
lib/authorizer/digest.js Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Mar 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.09%. Comparing base (3f98974) to head (b1e5fd2).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1394   +/-   ##
========================================
  Coverage    79.09%   79.09%           
========================================
  Files           45       45           
  Lines         3367     3368    +1     
  Branches       970      971    +1     
========================================
+ Hits          2663     2664    +1     
  Misses         704      704           
Flag Coverage Δ
integration 70.51% <100.00%> (+<0.01%) ⬆️
legacy 46.05% <100.00%> (+0.01%) ⬆️
unit 42.69% <100.00%> (+0.93%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codenirvana codenirvana changed the title Fix - Remove case sensitivity check for scheme and parameters name in digest auth Remove case sensitivity check for scheme and parameters name in Digest Auth Mar 28, 2024
@codenirvana codenirvana merged commit e4e4078 into develop Mar 28, 2024
8 of 9 checks passed
@codenirvana codenirvana deleted the fix/digest-auth-scheme-case-sensitivity branch March 28, 2024 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants