Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit ff5f127

Browse files
committed
Merge branch 'hotfix/249'
Close #249
2 parents dbde26f + f64c69b commit ff5f127

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ All notable changes to this project will be documented in this file, in reverse
66

77
### Added
88

9-
- Nothing.
9+
- [#249](https://github.com/zendframework/zend-validator/pull/249) adds support in the hostname validator for the `.rs` TLD.
1010

1111
### Changed
1212

src/Hostname.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,6 +1761,7 @@ class Hostname extends AbstractValidator
17611761
33 => '/^[\x{002d}0-9א-ת]{1,63}$/iu'],
17621762
'PR' => [1 => '/^[\x{002d}0-9a-záéíóúñäëïüöâêîôûàèùæçœãõ]{1,63}$/iu'],
17631763
'PT' => [1 => '/^[\x{002d}0-9a-záàâãçéêíóôõú]{1,63}$/iu'],
1764+
'RS' => [1 => '/^[\x{002d}0-9a-zßáâäçéëíîóôöúüýăąćčďđęěĺľłńňőŕřśşšţťůűźżž]{1,63}$/iu'],
17641765
'RU' => [1 => '/^[\x{002d}0-9а-яё]{1,63}$/iu'],
17651766
'SA' => [1 => '/^[\x{002d}.0-9\x{0621}-\x{063A}\x{0641}-\x{064A}\x{0660}-\x{0669}]{1,63}$/iu'],
17661767
'SE' => [1 => '/^[\x{002d}0-9a-zäåéöü]{1,63}$/iu'],

0 commit comments

Comments
 (0)