Comments (9)
Can you share your server + proxy configuration? Even better if can provide a reproducible example
Seems to be only the logging; https://codesandbox.io/p/devbox/gracious-lamport-jfds4x
If you visit the /api or /web path, you see it excludes the port in the logging
from http-proxy-middleware.
Can you share your server + proxy configuration?
Even better if can provide a reproducible example
from http-proxy-middleware.
@Netail Yeah, looks like it is just the logging. Initially I thought I had an issue with the proxy but that seems to be working as intended.
from http-proxy-middleware.
It also automatically adds a trailing slash to the target which could trigger an infinite loop when the web server has a redirect to the non-trailing slash path
from http-proxy-middleware.
Thanks for reporting and the reproduction.
Merged a fix.
Trailing slash is added by the http-proxy
lib.
Should be fixed upstream.
from http-proxy-middleware.
published fix for port issue in 3.0.1-beta.0
from http-proxy-middleware.
Thanks for reporting and the reproduction.
Merged a fix.
Trailing slash is added by the
http-proxy
lib.
Should be fixed upstream.
Will you make a ticket there or shall I?
from http-proxy-middleware.
Feel free to create a ticket 👍
from http-proxy-middleware.
Feel free to create a ticket 👍
Mhm I doubt it will be picked up, they haven't updated that library for over 4 years now, same for all the security issues
from http-proxy-middleware.
Related Issues (20)
- req.url is always '/' HOT 4
- micromatch vulnerable at v4.0.5 HOT 3
- Error emitted on proxy server after original request is aborted
- TS type compatibility HOT 4
- ERR_HTTP_HEADERS_SENT from onProxyReq with https-proxy-agent HOT 2
- Proxy to another proxy HOT 1
- Security Vulnerability in Dependency | follow-redirects HOT 2
- "Invalid context" error message is unhelpful when mixing paths with globs HOT 1
- Release plan for v3.0.0 HOT 1
- Response interceptor copyHeaders logic only removes first character of cookie domain because of non-greedy regex
- TypeError: (options.buffer || req).pipe is not a function HOT 1
- Allow custom Http Method like LIST HOT 3
- SSE close connection issue with proxy HOT 3
- V3: base path not stripped from WebSocket upgrade requests HOT 2
- SSL Error in when Upgrading from node 16 to 18 HOT 3
- Setting followRedirects to true limits the form-data body size length to 10 MB
- Hono Support for http-proxy-middleware HOT 1
- The Cookie header is not being included in the redirected address. HOT 2
- How to reduce logger to only errors? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from http-proxy-middleware.