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

fix: name ownership recipient ens casing sensitivity #1067

Merged
merged 2 commits into from
Oct 18, 2024

Conversation

gareys
Copy link
Collaborator

@gareys gareys commented Oct 13, 2024

What changed? Why?
When you type in an ens or basename in the search input on the ownership change modal, it was case sensitive.

So Garey.base.eth wouldn't resolve, but garey.base.eth would resolve.

This change validates the ens name against inputValue.toLocaleLowerCase() and now the ens will resolve appropriately without casing sensitivity.

BEFORE AFTER
Screenshot 2024-10-13 at 8 27 10 AM Screenshot 2024-10-13 at 8 47 18 AM

Notes to reviewers

How has it been tested?
Locally tested, see screenshots.

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Oct 13, 2024

✅ Heimdall Review Status

Requirement Status More Info
Reviews 2/2
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

Copy link

vercel bot commented Oct 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
base-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 18, 2024 5:06pm
web-base-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 18, 2024 5:06pm

Copy link

vercel bot commented Oct 13, 2024

@gareys is attempting to deploy a commit to the Coinbase Team on Vercel.

A member of the Team first needs to authorize it.

@JFrankfurt JFrankfurt requested a review from a team October 18, 2024 16:58
@JFrankfurt JFrankfurt merged commit 08dd49a into base-org:master Oct 18, 2024
5 of 6 checks passed
kirkas pushed a commit that referenced this pull request Oct 21, 2024
* fix: name ownership recipient ens casing sensitivity

* use toLowerCase instead of toLocaleLowerCase
kirkas pushed a commit that referenced this pull request Oct 21, 2024
* fix: name ownership recipient ens casing sensitivity

* use toLowerCase instead of toLocaleLowerCase
chrischang pushed a commit to chrischang/web that referenced this pull request Jan 15, 2025
* fix: name ownership recipient ens casing sensitivity

* use toLowerCase instead of toLocaleLowerCase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants