villadora / express-http-proxy

Proxy middleware for express/connect
Other
1.22k stars 236 forks source link

Can I prevent express-http-proxy from unescaping string characters? #496

Open ghost opened 2 years ago

ghost commented 2 years ago

I have requests coming into express-http-proxy with strings containing escaped characters, and express-http-proxy unescapes them. The escaping is unnecessary, but changing the request body causes Stream's signature check to fail. Currently, I'm dealing with the issue by re-escaping the characters after receiving them, which isn't ideal. Is there any approach with the existing settings to fix my issue? If not, can we submit a patch adding such a setting?

monkpow commented 1 year ago

I'd be delighted to get a patch for this, or a simple use case that I can work from.