-
Notifications
You must be signed in to change notification settings - Fork 659
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
/v1/search endpoint handle's TLDs inconsistently. #847
Comments
cc @kantai |
Okay -- will update. The behavior will be:
|
Thanks @kantai! |
This behavior should be better now -- try these examples: https://core.blockstack.org/v1/search?query=alexc.id Update: Hold that thought. A little more complexity is required here! |
Merged to master in #850 -- and live now. Those above queries should work. The additional complexity came because we wanted to keep the |
Great fix @kantai. I've tested it with the names you provided above along with some others (prabhaav.stealthy, prabhaav.stealthy.id, pie_head, pie_head.id, pie_head.id.block, pie_head.id.blockstack) and it's working. Thanks 👍 Edit: I believe you can close this issue unless you have other related changes you're making. |
If I search the /v1/search endpoint for a fully qualified ID featuring the '.id' TLD, the search will fail--for instance try these searches:
If I strip the '.id' TLD from those searches, the endpoint returns results:
However when I search for a fully qualified ID featuring any other TLD that doesn't end in '.id' (e.g. '.id.blockstack'), the endpoint does return results:
The text was updated successfully, but these errors were encountered: