You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Multiple forward slashes in request URL cause unexpected issues #80
Visit http://localhost:3005/, see Hello World! as expected
Visit http://localhost:3005/test, see Test Page! as expected
Visit http://localhost:3005//test (note the double forward slash //), see Hello World! instead of the expected Test Page! (almost like like the //test part of the request URL was cut off, not sure if that's what's actually happening).
Describe the bug
When the request being proxied has multiple consecutive forward slashes, the proxy seems to break and cut off the rest of the URL.
This doesn't happen with the latest (2018) version of the old http-proxy module, so that might be a clue.
Activity
brokuka commentedon Sep 14, 2025
any update on this?
fix(utils): preserve multiple consecutive slashes in request URL