Permit underbar in dns name component; needed for srv, csa, dane...
[exim.git] / src / src / utf8.c
index 611bff02050ecc233e7a0df9459763a1ba1b08d0..6d0c5029b511ea42752b9161062ed62ddaf6410a 100644 (file)
@@ -33,7 +33,7 @@ uschar * s;
 int rc;
 
 s = US stringprep_utf8_nfkc_normalize(CCS utf8, -1);
-if (  (rc = idna_to_ascii_8z(CCS s, CSS &s1, IDNA_USE_STD3_ASCII_RULES))
+if (  (rc = idna_to_ascii_8z(CCS s, CSS &s1, IDNA_ALLOW_UNASSIGNED))
    != IDNA_SUCCESS)
   {
   free(s);