Closed bcrowe closed 6 years ago
Follow up for https://github.com/cakephp/localized/pull/166.
This is more permissive area code matching. Accept anything that isn't 555 or doesn't start with 0 or 1. New area codes are being added pretty frequently, so no whitelisting. Fail 555 because it's used for directory assistance applications (similar to the 555 prefix).
555
0
1
Follow up for https://github.com/cakephp/localized/pull/166.
This is more permissive area code matching. Accept anything that isn't
555
or doesn't start with0
or1
. New area codes are being added pretty frequently, so no whitelisting. Fail555
because it's used for directory assistance applications (similar to the 555 prefix).