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

identity search by email with special characters #3247

Closed
3 of 6 tasks
aveeday opened this issue Apr 21, 2023 · 2 comments
Closed
3 of 6 tasks

identity search by email with special characters #3247

aveeday opened this issue Apr 21, 2023 · 2 comments
Labels
bug Something is not working.

Comments

@aveeday
Copy link

aveeday commented Apr 21, 2023

Preflight checklist

Describe the bug

request identities?credentials_identifier=test@example.com returns identity as expected
but request identities?credentials_identifier=test+1@example.com returns empty response

Reproducing the bug

git clone https://github.com/ory/kratos.git
cd kratos
docker-compose -f quickstart.yml -f quickstart-standalone.yml up --build --force-recreate
curl localhost:4434/admin/identities -X POST -d '{"traits": {"email":"test+1@test"}}'
$ curl localhost:4434/admin/identities?credentials_identifier=test+1@test
[]

Relevant log output

No response

Relevant configuration

No response

Version

0.13.0

On which operating system are you observing this issue?

None

In which environment are you deploying?

Docker

Additional Context

No response

@aveeday aveeday added the bug Something is not working. label Apr 21, 2023
@aeneasr
Copy link
Member

aeneasr commented Apr 24, 2023

test+1@test decodes to test 1@test so you need to URL encode the +: test%2B1%40test

@kmherrmann
Copy link
Contributor

I hope this solved the issue - I'm closing it, please reopen if you encounter further issues.

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

No branches or pull requests

3 participants