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

Add url encoding to header #564

Merged
merged 2 commits into from
Sep 27, 2023
Merged

Conversation

zachwn
Copy link
Contributor

@zachwn zachwn commented Sep 26, 2023

should fix #533

@codecov-commenter
Copy link

codecov-commenter commented Sep 26, 2023

Codecov Report

Merging #564 (bcb0642) into master (baad1e1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #564   +/-   ##
=======================================
  Coverage   99.29%   99.29%           
=======================================
  Files          82       82           
  Lines         569      569           
  Branches       54       54           
=======================================
  Hits          565      565           
  Misses          3        3           
  Partials        1        1           
Files Coverage Δ
src/utils/authentication.ts 100.00% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@nielsvanvelzen
Copy link
Member

I think encodeURIComponent works better for these values

Copy link
Member

@thornbill thornbill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

encodeURIComponent should be used instead otherwise you could still have invalid characters in the value

@sonarcloud
Copy link

sonarcloud bot commented Sep 26, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@thornbill thornbill merged commit 96f6d02 into jellyfin:master Sep 27, 2023
7 checks passed
@thornbill thornbill added the enhancement New feature or request label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add character escaping for authorization header
4 participants