Skip to content

CountryValidator allows "EU" as country but it's not in ISO_3166-1 #10807

@klaascuvelier

Description

@klaascuvelier

According to the documentation the Country validator should only allow countries from the ISO_3166-1 alpa-2 list.

One of the entries from Intl::getRegionBundle()->getCountryNames() is 'EU' => string 'European Union' (length=14) which is not in that ISO list.
So 'EU' is handled as valid, but it shouldn't be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions