Tags: ronanguilloux/IsoCodes
Tags
Release v2.4.1: Added: New Features: - Add Employer Identification Number (EIN) validator (#163) - Add International Standard Recording Code (ISRC) validator - Add Global Release Identifier (GRid) validator (#164) - Add Danish CPR (Det Centrale Personregister) validator (#170) Bug Fixes: - Fix IBAN validation crashes on invalid characters (#180) Improvements: - Refactor: Convert assignment statements to usage of combined operators (#174)
fix #177 Fix PhoneNumber validation accepting invalid characters | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #177 Updated PhoneNumber::validate to explicitly reject inputs containing alpha characters. Prevents libphonenumber from parsing "vanity numbers" or ignoring trailing alpha characters. Added regression tests for the reported cases.
PreviousNext