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

Document using japanese characters returns 401 on GET using in-memory storage #1907

Open
NoelDeMartin opened this issue May 10, 2024 · 0 comments
Labels
🐛 bug Something isn't working

Comments

@NoelDeMartin
Copy link
Contributor

Environment

  • Server version: 7.0.5
  • Node.js version: v18.20.2
  • npm version: 10.5.0

Description

Documents containing Japanese characters return a 401 on a GET request. In particular, this only seems to happen using the in-memory storage (with the default configuration).

I'm pretty sure it's a problem with the server, and not the authentication library, because running the exact same code without using Japanese characters it works properly. It also works properly if I use file storage (with @css:config/file.json).

It's also not something that "only happens in my machine", because I've reproduced the error in CI as well. You can find a minimal reproduction here, with the problem replicated using Cypress: https://github.com/NoelDeMartin/reproductions/tree/css-encoding-401

@joachimvh joachimvh added the 🐛 bug Something isn't working label May 13, 2024
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

2 participants