Skip to content
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

Duplicate cookies #1

Open
simongray opened this issue Sep 19, 2022 · 0 comments
Open

Duplicate cookies #1

simongray opened this issue Sep 19, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@simongray
Copy link
Member

See comment added in 68a2075fdea9c17471166733df9abea2d6eef60a.

Currently, certain endpoints will temporarily duplicate the existing paths at more specific paths, e.g. /entity in addition to / which is the intended path. However, these cookies do not persist, i.e. they are session cookies. In practice, they may not be a huge issue, but could of course still result in subtle bugs down the line.

How to reproduce

Set a cookie by e.g. logging in or by pressing the language selection button. Either way, subsequently navigating to the reader (which calls the /entity endpoint) will result in duplicate cookies being set, at least in Chrome with the /entity path.

@simongray simongray added the bug Something isn't working label Sep 19, 2022
@simongray simongray transferred this issue from kuhumcst/glossematics Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant