diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2015-04-18 15:48:58 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2015-04-18 16:22:48 +0100 |
commit | 766e7a65f0fcb236afb7d8ad79db5f340b5d3b83 (patch) | |
tree | 41d8f340d0cd2b8cf0d1c0cf0ae7780a45c6fe05 /test | |
parent | 3ae1aa791976d11d3d1e1f9f30a16339abfc0134 (diff) |
UTF8: Avoid treating a punycoded dns lookup as an implicit redirection
Diffstat (limited to 'test')
-rw-r--r-- | test/dnszones-src/db.test.ex | 12 | ||||
-rw-r--r-- | test/stdout/0405 | 3 |
2 files changed, 9 insertions, 6 deletions
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 -------- diff --git a/test/stdout/0405 b/test/stdout/0405 index f5b5dce41..8a0641056 100644 --- a/test/stdout/0405 +++ b/test/stdout/0405 @@ -1,5 +1,4 @@ syntax error: domain missing or malformed -bounce@xn--1xa.test.ex - <-- bounce@π.test.ex +bounce@π.test.ex router = r1, transport = t1 host mx.xn--1xa.test.ex [V4NET.255.255.255] MX=0 |