Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop
This commit is contained in:
commit
45a2cfb01b
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ def _validate_domain(domain):
|
|||
|
||||
for char in label:
|
||||
if char in ILLEGAL_CHARS:
|
||||
raise InvalidJID('Domain contains illegar characters')
|
||||
raise InvalidJID('Domain contains illegal characters')
|
||||
|
||||
if '-' in (label[0], label[-1]):
|
||||
raise InvalidJID('Domain started or ended with -')
|
||||
|
|
Loading…
Reference in a new issue