Commit 8d1f4d45 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2586] use !, not %, for a label char smaller than &.

% seems to (possibly) cause an unexpected side effect in an SQL statement.
parent 9a9b1782
......@@ -1377,7 +1377,7 @@ TEST_P(QueryTest, nxdomainWithNSEC2) {
// is derived from the next domain of the NSEC that proves NXDOMAIN, and
// the NSEC to provide the non existence of wildcard is different from
// the first NSEC.
query.process(*list_, Name("%.no.example.com"), qtype, response,
query.process(*list_, Name("!.no.example.com"), qtype, response,
true);
responseCheck(response, Rcode::NXDOMAIN(), AA_FLAG, 0, 6, 0,
NULL, (string(soa_minttl_txt) +
......
......@@ -150,7 +150,7 @@ t.example.com. 3600 IN RRSIG NSEC 5 3 3600 20000101000000 20000201000000 12345 e
;; the best possible wildcard is below the "next domain" of the NSEC RR that
;; proves the NXDOMAIN, i.e.,
;; mx.example.com. (exist)
;; %.no.example.com. (qname, NXDOMAIN)
;; !.no.example.com. (qname, NXDOMAIN)
;; &.no.example.com. (exist)
;; *.no.example.com. (best possible wildcard, not exist)
;var=no_txt
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment