-
Notifications
You must be signed in to change notification settings - Fork 27.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Location"] #24977
Labels
bug
Issue was opened via the bug report template.
Comments
I am having the same issue with ['Refresh'] instead of ['Location']
|
2 tasks
Duplicate of #24047 |
10 tasks
timneutkens
added a commit
to timneutkens/next.js
that referenced
this issue
Jan 28, 2022
Fixes the merge conflicts in vercel#27003 Fixes vercel#24977 Fixes vercel#24047 Closes vercel#27003 Co-Authored-By: Jamie <[email protected]>
kodiakhq bot
pushed a commit
that referenced
this issue
Jan 28, 2022
Fixes the merge conflicts in #27003 Fixes #24977 Fixes #24047 Closes #27003 Co-Authored-By: Jamie <[email protected]> ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
natew
pushed a commit
to natew/next.js
that referenced
this issue
Feb 16, 2022
Fixes the merge conflicts in vercel#27003 Fixes vercel#24977 Fixes vercel#24047 Closes vercel#27003 Co-Authored-By: Jamie <[email protected]> ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Next.js are you using?
10.2.0
What version of Node.js are you using?
12.21.0
What browser are you using?
Chrome
What operating system are you using?
MacOS
How are you deploying your application?
next start
on herokuDescribe the Bug
Using some special characters in a URL query key crashes Next and gives a 500 with the following stack trace.
Seems like this has been a problem before in #17907, but was fixed for that set of characters.
Expected Behavior
The Next server should return a 404.
To Reproduce
create-next-app
and start it with eithernext dev
ornext start
http://localhost:3003/u/?%23%0d%0ahrs:hrs
(looks like it doesn't crash if you add the query to the root path)Internal server error
and returning 500.The text was updated successfully, but these errors were encountered: