dvonlehman / express-request-proxy

Advanced streaming http request proxy middleware for Express with support for custom routes, caching, and response transforms.
96 stars 38 forks source link

Prevent calling decodeURIComponent on url it is proxying #54

Open amir734jj opened 4 years ago

amir734jj commented 4 years ago

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: https://github.com/dvonlehman/express-request-proxy/blob/a32f5918d9aed6c42483c76df7445a00693f43bc/lib/request-options.js#L50

I appreciate any help or hint.