Referrer is not set correctly on Internet Explorer 11 #23939
Unanswered
danschleicher
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
Describe the bug
On IE11
document.referrer
isn't set. The return value is just an empty string instead of for example https://www.google.com.To Reproduce
I just set up a small next.js project like recommended in the next.js documentation
(https://nextjs.org/docs/getting-started#manual-setup)
After this project set up I started the next.js dev server (via yarn dev).
Then I visited google.com (with IE11) and searched with a random search term
After that I manipulated a search result link via dev tools.
The manipulated link has now the href attribute "http://localhost:3000"
Finally I clicked this manipulated link so that I was routed to my next.js page
Result: There I can see that document.referrer returns an empty string instead of "https://www.google.com"
Expected behavior
document.referrer
should be set correctly.System information
Additional context
An error has already been created on this topic (#8365).
But at that time the bug was not fixed.
Beta Was this translation helpful? Give feedback.
All reactions