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

Emoji's in address crash the verification function #5

Open
BrandonCopley opened this issue Jul 23, 2020 · 0 comments
Open

Emoji's in address crash the verification function #5

BrandonCopley opened this issue Jul 23, 2020 · 0 comments

Comments

@BrandonCopley
Copy link

BrandonCopley commented Jul 23, 2020

When running

usps.verify({
  street1: 'Rocky Point 🏡',
  street2: '',
  city: 'Austin',
  state: 'Tx',
  zip: '78749'
}

usps.verify will crash. It appears it's important for this toolkit to throw away emoji's rather than crash because sometimes users add emoji's to addresses.

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

No branches or pull requests

1 participant