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

Delete user containing + in username returns 404 but user gets deleted #11027

Open
saw-jan opened this issue Feb 18, 2025 · 0 comments
Open

Delete user containing + in username returns 404 but user gets deleted #11027

saw-jan opened this issue Feb 18, 2025 · 0 comments
Labels

Comments

@saw-jan
Copy link
Member

saw-jan commented Feb 18, 2025

Steps to reproduce

  1. Create a new user containing +: user+plus
  2. Try to delete the created user - 404
curl -XDELETE "https://localhost:9200/graph/v1.0/users/user+plus' -u admin:admin -vk
< HTTP/1.1 404 Not Found

{
  "error": {
    "code": "itemNotFound",
    "innererror": {"date":"2025-02-18T11:58:19Z","request-id":"..."},
    "message": ""
  }
}
  1. List user - user gets deleted ❗
curl 'https://localhost:9200/graph/v1.0/users' -uadmin:admin -vk | jq

Expected behavior

204

Actual behavior

404 Not Found
but user gets deleted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant