rsnext/packages
Yuval Lotem fb1190425c
fix: x-forwarded-port header is 'undefined' when no port in url (#60484)
### What?
See this issue - https://github.com/vercel/next.js/issues/61133

following this change https://github.com/vercel/next.js/pull/57815
`x-forwarded-port` header value is 'undefined' if the URL has no port

### Why?
x-forwarded-port 'undefined' makes other http-proxy throw 405 error for
the invalid header value

### How?
Give default 80 port if the URL has no port

---------

Co-authored-by: Ethan Arrowood <ethan@arrowood.dev>
2024-03-12 16:45:50 +00:00
..
create-next-app v14.2.0-canary.17 2024-03-12 15:10:31 +00:00
eslint-config-next v14.2.0-canary.17 2024-03-12 15:10:31 +00:00
eslint-plugin-next v14.2.0-canary.17 2024-03-12 15:10:31 +00:00
font v14.2.0-canary.17 2024-03-12 15:10:31 +00:00
next fix: x-forwarded-port header is 'undefined' when no port in url (#60484) 2024-03-12 16:45:50 +00:00
next-bundle-analyzer v14.2.0-canary.17 2024-03-12 15:10:31 +00:00
next-codemod v14.2.0-canary.17 2024-03-12 15:10:31 +00:00
next-env v14.2.0-canary.17 2024-03-12 15:10:31 +00:00
next-mdx v14.2.0-canary.17 2024-03-12 15:10:31 +00:00
next-plugin-storybook v14.2.0-canary.17 2024-03-12 15:10:31 +00:00
next-polyfill-module v14.2.0-canary.17 2024-03-12 15:10:31 +00:00
next-polyfill-nomodule v14.2.0-canary.17 2024-03-12 15:10:31 +00:00
next-swc v14.2.0-canary.17 2024-03-12 15:10:31 +00:00
react-refresh-utils v14.2.0-canary.17 2024-03-12 15:10:31 +00:00
third-parties v14.2.0-canary.17 2024-03-12 15:10:31 +00:00