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

Rules\Domain fails to validate idn with dashes #1273

Closed
alpaxo opened this issue Feb 24, 2020 · 1 comment
Closed

Rules\Domain fails to validate idn with dashes #1273

alpaxo opened this issue Feb 24, 2020 · 1 comment
Labels

Comments

@alpaxo
Copy link

alpaxo commented Feb 24, 2020

For example а-б-в.com => xn-----6kcfg.com is valid but fails on

new Callback(function ($str) {
    return substr_count($str, '--') == 1;
})
@alganet
Copy link
Member

alganet commented Feb 19, 2023

Fixed by #1378

@alganet alganet closed this as completed Feb 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants