Welcome! » Log In » Create A New Profile

Non Latin Domains

Posted by Georgi 
Georgi
Non Latin Domains
June 02, 2010 11:47AM

Hello, I searched the docs and the forum, but I didn't find any information about the non-latin domains. I tested with several domains and they all were removed by the htmlpurifier (tested with 4.0.0, 4.1.0, 4.1.1).

Test results in Test

Does the library support non-latin domains or is this feature on your to-do list? Any ideas for quick fix of the issue?

Thanks!

Georgi

Re: Non Latin Domains
June 02, 2010 12:08PM

Correct, HTML Purifier doesn't currently support them. I was thinking of putting in a punycode converter to HTML Purifier to handle such cases; I haven't done enough research into IDNs to know what can safely be put in them.

Georgi
Re: Non Latin Domains
June 02, 2010 03:57PM

Correct, HTML Purifier doesn't currently support them. I was thinking of putting in a punycode converter to HTML Purifier to handle such cases; I haven't done enough research into IDNs to know what can safely be put in them.

Thank you for the quick reply!

The support tickets from "innovative" users are killing me, but I will keep the htmlpurifier, because I really like it.

Several of my colleagues which are working on different projects are experiencing the same problems with the new idiotic non-latin domain names, so working solution will be available soon from one of us. I will post it here too.

Best regards, Georgi

Henrique Vicente
Re: Non Latin Domains
August 13, 2010 10:01AM

Correct, HTML Purifier doesn't currently support them. I was thinking of putting in a punycode converter to HTML Purifier to handle such cases; I haven't done enough research into IDNs to know what can safely be put in them.

Thank you for the quick reply!

The support tickets from "innovative" users are killing me, but I will keep the htmlpurifier, because I really like it.

Several of my colleagues which are working on different projects are experiencing the same problems with the new idiotic non-latin domain names, so working solution will be available soon from one of us. I will post it here too.

Best regards, Georgi

Hello, do you have a solution already? Thanks.

Re: Non Latin Domains
August 13, 2010 10:47AM

Not yet, sorry.

Georgi
Re: Non Latin Domains
August 09, 2011 04:59AM

All my attempts to make it work good with non latin domains were a complete failure. Nobody has the time to read all the needed docs for a proper filter.

So if somebody has some sort of solution - please share it!

Best Regards!

Sorry, you do not have permission to post/reply in this forum.