dboehmer / coocook

👨‍🍳🦉 Web application for collecting recipes and making food plans
https://coocook.org/
Other
11 stars 2 forks source link

Clicking on "Login" menu item repeatedly creates nested redirect URLs #64

Closed dboehmer closed 6 years ago

dboehmer commented 6 years ago

The link to the "Login" page from from any other page links to a URL contains a redirect query parameter with the original page's path, e.g. http://localhost:3000/login?redirect=about.

Clicking on "Login" repeatedly encodes this URL including the query parameter in a new link within the very same query parameter, i.e. http://localhost:3000/login?redirect=login%3Fredirect%3Dabout for the example above. This has issues:

Possible solutions: