mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Accept chinese/arabic domain
This commit is contained in:
parent
dea6a18712
commit
ef4c3066ec
1 changed files with 2 additions and 2 deletions
|
@ -112,7 +112,7 @@ user:
|
||||||
help: Domain for the email address and xmpp account
|
help: Domain for the email address and xmpp account
|
||||||
extra:
|
extra:
|
||||||
pattern: &pattern_domain
|
pattern: &pattern_domain
|
||||||
- !!str ^([^\W_A-Z]+([-]*[^\W_A-Z]+)*\.)+([^\W\d_]{2,})$
|
- !!str ^([^\W_A-Z]+([-]*[^\W_A-Z]+)*\.)+((xn--)?[^\W\d_]{2,})$
|
||||||
- "pattern_domain"
|
- "pattern_domain"
|
||||||
-q:
|
-q:
|
||||||
full: --mailbox-quota
|
full: --mailbox-quota
|
||||||
|
@ -156,7 +156,7 @@ user:
|
||||||
full: --mail
|
full: --mail
|
||||||
extra:
|
extra:
|
||||||
pattern: &pattern_email
|
pattern: &pattern_email
|
||||||
- !!str ^[\w.-]+@([^\W_A-Z]+([-]*[^\W_A-Z]+)*\.)+([^\W\d_]{2,})$
|
- !!str ^[\w.-]+@([^\W_A-Z]+([-]*[^\W_A-Z]+)*\.)+((xn--)?[^\W\d_]{2,})$
|
||||||
- "pattern_email"
|
- "pattern_email"
|
||||||
-p:
|
-p:
|
||||||
full: --change-password
|
full: --change-password
|
||||||
|
|
Loading…
Add table
Reference in a new issue