Skip to content

Comments

Fix name.from_unicode to raise prorper exception#83

Merged
rthalley merged 1 commit intomasterfrom
unknown repository
Mar 21, 2015
Merged

Fix name.from_unicode to raise prorper exception#83
rthalley merged 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Nov 19, 2014

Without this fix, UnicodeError exception was raised instead of
LabelTooLong

Note: this fix doesn't handle labels longer than 63 after punycode conversion, there is still UnicodeError raised

Without this fix, UnicodeError exception was raised instead of
LabelTooLong
@pspacek
Copy link
Collaborator

pspacek commented Mar 20, 2015

This patch seems good to me.

rthalley added a commit that referenced this pull request Mar 21, 2015
Fix name.from_unicode to raise prorper exception
@rthalley rthalley merged commit 42eddff into rthalley:master Mar 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants