From 766e7a65f0fcb236afb7d8ad79db5f340b5d3b83 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 18 Apr 2015 15:48:58 +0100 Subject: UTF8: Avoid treating a punycoded dns lookup as an implicit redirection --- test/dnszones-src/db.test.ex | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'test/dnszones-src') diff --git a/test/dnszones-src/db.test.ex b/test/dnszones-src/db.test.ex index ebf9a4021..ab1643452 100644 --- a/test/dnszones-src/db.test.ex +++ b/test/dnszones-src/db.test.ex @@ -38,9 +38,9 @@ dontqualify A V4NET.255.255.254 UpperCase A 127.0.0.1 -; A host with UTF-8 characters used for its lookup ( π.test.ex ) +; A host with punycoded UTF-8 characters used for its lookup ( mx.π.test.ex ) -mx.xn--1xa A V4NET.255.255.255 +mx.xn--1xa A V4NET.255.255.255 ; A non-standard name for localhost @@ -358,9 +358,13 @@ mxt97 MX 1 ten-1.test.ex. mxt1c MX 1 dontqualify. -; MX with UTF-8 characters used for its lookup ( π.test.ex ) +; MX with punycoded UTF-8 characters used for its lookup ( π.test.ex ) -xn--1xa MX 0 mx.xn--1xa.test.ex. +xn--1xa MX 0 mx.π.test.ex. + +; MX with actual UTF-8 characters in its name, for allow_utf8_domains mode test + +π MX 0 mx.xn--1xa.test.ex. ; -------- Testing SRV records -------- -- cgit v1.2.3