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

Prevent calling decodeURIComponent on url it is proxying #54

Open
amir734jj opened this issue Oct 31, 2020 · 0 comments
Open

Prevent calling decodeURIComponent on url it is proxying #54

amir734jj opened this issue Oct 31, 2020 · 0 comments

Comments

@amir734jj
Copy link

I am wondering is there a way to stop express-request-proxy from decoding the URL that is proxying? I asked this question on StackOverFlow as well.

This line is the source of my problem:

var pathname = decodeURIComponent(compiledPath(_.extend({}, req.params, options.params || {})));

I appreciate any help or hint.

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

No branches or pull requests

1 participant