Coder Social home page Coder Social logo

Comments (9)

Netail avatar Netail commented on June 7, 2024 1

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.

chimurai avatar chimurai commented on June 7, 2024

Can you share your server + proxy configuration?
Even better if can provide a reproducible example

from http-proxy-middleware.

max-holland avatar max-holland commented on June 7, 2024

@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.

Netail avatar Netail commented on June 7, 2024

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.

chimurai avatar chimurai commented on June 7, 2024

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.

chimurai avatar chimurai commented on June 7, 2024

published fix for port issue in 3.0.1-beta.0

from http-proxy-middleware.

Netail avatar Netail commented on June 7, 2024

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.

chimurai avatar chimurai commented on June 7, 2024

Feel free to create a ticket 👍

from http-proxy-middleware.

Netail avatar Netail commented on June 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.