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

Encode redirection targets properly #72

Merged
merged 2 commits into from
Nov 12, 2018
Merged

Encode redirection targets properly #72

merged 2 commits into from
Nov 12, 2018

Conversation

leo
Copy link
Contributor

@leo leo commented Nov 12, 2018

Since we are decoding all incoming request paths here, we need to encode them again, in order to prevent Node.js from throwing an error when trying to send invalid headers.

@leo leo added the enhancement New feature or request label Nov 12, 2018
@leo leo requested a review from matheuss November 12, 2018 20:33
@codecov
Copy link

codecov bot commented Nov 12, 2018

Codecov Report

Merging #72 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #72   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           2      2           
  Lines         319    319           
=====================================
  Hits          319    319
Impacted Files Coverage Δ
src/index.js 100% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 44b9818...2b6924d. Read the comment docs.

@matheuss matheuss merged commit 8474786 into master Nov 12, 2018
@matheuss matheuss deleted the encode-redirect branch November 12, 2018 20:42
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.

2 participants