zendframework/zend-validator

Missing support for emojis as valid punycode

Opened this issue · 1 comments

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.

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