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

Punycode decoding fails if encoded string has not hyphen #4636

Closed
wants to merge 1 commit into from

Conversation

fetus-hina
Copy link
Contributor

When validating host name like "xn--eckwd4c7cu47r2wf.jp", punycode decoder fails.

In typically case of Japanese(Maybe also Chinese and Korean) domain name, it hasn't ASCII characters. Then, encoded string has not hyphen after "xn--". In this case, current code reports decode error.

And, ZF1 also has this problem.

weierophinney added a commit that referenced this pull request Jun 12, 2013
Punycode decoding fails if encoded string has not hyphen
weierophinney added a commit that referenced this pull request Jun 12, 2013
@ghost ghost assigned weierophinney Jun 12, 2013
weierophinney added a commit to zendframework/zend-validator that referenced this pull request May 15, 2015
…unycode

Punycode decoding fails if encoded string has not hyphen
weierophinney added a commit to zendframework/zend-validator that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-validator that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants