usps-web-tools-node-sdk icon indicating copy to clipboard operation
usps-web-tools-node-sdk copied to clipboard

Emoji's in address crash the verification function

Open BrandonCopley opened this issue 5 years ago • 0 comments

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.

BrandonCopley avatar Jul 23 '20 00:07 BrandonCopley