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

Missing support for emojis as valid punycode #229

Open
caquillo07 opened this issue May 9, 2018 · 1 comment
Open

Missing support for emojis as valid punycode #229

caquillo07 opened this issue May 9, 2018 · 1 comment

Comments

@caquillo07
Copy link

Hi all,

I ran into an issue when trying to validate hostnames to which the punycode converts to an emoji. I noticed there is no regular expression to match this on any of the IDNs. Were emojis left out for a reason? or am I missing something, perhaps there is a way to add my own custom IDNs to the list? I did not any feature which allows me to do that either.

The hostname I'm trying to validate is xn--ht8h.somename.com

If this has been asked before, my apologies, I have searched all over the place for the last day or two. If someone could point in the direction to fix this, I would really appreciate it.

Thank you.

@weierophinney
Copy link
Member

This repository has been closed and moved to laminas/laminas-validator; a new issue has been opened at laminas/laminas-validator#6.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants