]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove idna test for UseSTD3ASCIIRules=true
authorOndřej Surý <ondrej@isc.org>
Tue, 30 Nov 2021 14:20:07 +0000 (15:20 +0100)
committerOndřej Surý <ondrej@isc.org>
Wed, 1 Dec 2021 15:10:04 +0000 (16:10 +0100)
We had to disable UseSTD3ASCIIRules=true because it broke non-letter
domain names like _tcp or *.  Disable the idna test too.

bin/tests/system/idna/tests.sh

index e16809f81bb461786d4229525831e38d545e3c63..d7da8e3427a8041dcc844f9f4cc926df7241cbaf 100644 (file)
@@ -347,29 +347,6 @@ idna_enabled_test() {
     idna_test "$text" "+noidnin +noidnout" "xn--19g" "xn--19g."
     idna_fail "$text" "+noidnin +idnout"   "xn--19g"
     idna_fail "$text" "+idnin   +idnout"   "xn--19g"
-
-    # Test that the UseSTD3ASCIIRules is being used
-    #
-    # Note that "+noidnin +idnout" is not tested because libidn2 2.2.0+ parses
-    # Punycode more strictly than older versions and thus dig succeeds with that
-    # combination of options with libidn2 2.2.0+ but fails with older
-    # versions.
-    #
-    # Note that "+idnin +idnout" is not tested because libidn2 2.2.0+ parses
-    # Punycode more strictly than older versions and thus dig fails with that
-    # combination of options with libidn2 2.2.0+ but succeeds with older
-    # versions.
-    #
-    # With UseSTD13ASCIIRules=false, '☺' produces 'xn--\032o-oia59s'
-    #
-    # With UseSTD13ASCIIRules=true, '☺' produces 'xn--o-vfa'
-
-    text="Check that UseSTD3ASCIIRules is being used"
-    idna_test "$text" ""                   "☺" "\195\162\203\156\194\186."
-    idna_test "$text" "+noidnin +noidnout" "☺" "\195\162\203\156\194\186."
-    # idna_test "$text" "+noidnin +idnout"   "☺" "xn--o-vfa."
-    idna_test "$text" "+idnin   +noidnout" "☺" "xn--o-vfa."
-    # idna_fail "$text" "+idnin   +idnout"   "☺" "âo."
 }