hi once again,

i had bin quite in a hurry, so i didn't recognise that this mail is for
the bugtracking system.
So now once again in english ;)

I rewrote the script from lincoln:

  1 <?php
  2 echo "test iso: ";
  3 print idn_to_ascii
("mãeíóúáćñêâîõÔúnmkjqwertzuiopasdfghjklöqwerztuiopasdfghjklmsksu.org",
"iso-8859-1") . "<br />";
  4 echo "test utf: ";
  5 print idn_to_ascii
("çãéíóúáćñêâîõÔúnmkjqwertzuiopasdfghjklöqwerztuiopasdfghjklmsksu.org",
"utf-8");
  6 ?>


now we are getting the segfault.

As mentioned in the german mail, i think it occours when the hostpart of
the domain to be generated is longer then
the allowed 63 chars.

So trying to encode a domain with special chars and length <= 63 chars
that lead to an idn Domain > 63 char
seem to result in the segfault.

cheers and sorry for the german response ;)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to