From: Ondřej Surý Date: Tue, 30 Nov 2021 14:20:07 +0000 (+0100) Subject: Remove idna test for UseSTD3ASCIIRules=true X-Git-Tag: v9.17.21~8^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=70d8395ca33d5306b27200b215bcef33ef85f93f;p=thirdparty%2Fbind9.git Remove idna test for UseSTD3ASCIIRules=true We had to disable UseSTD3ASCIIRules=true because it broke non-letter domain names like _tcp or *. Disable the idna test too. --- diff --git a/bin/tests/system/idna/tests.sh b/bin/tests/system/idna/tests.sh index e16809f81bb..d7da8e3427a 100644 --- a/bin/tests/system/idna/tests.sh +++ b/bin/tests/system/idna/tests.sh @@ -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." }