|
|
@@ -88,7 +88,7 @@ pub fn collect_tests<F: FnMut(String, TestFn)>(add_test: &mut F) {
|
|
|
source.as_bytes(),
|
|
|
AsciiDenyList::STD3,
|
|
|
Hyphens::Check,
|
|
|
- DnsLength::VerifyAllowRootDot,
|
|
|
+ DnsLength::Verify,
|
|
|
);
|
|
|
check(
|
|
|
&source,
|
|
|
@@ -111,7 +111,7 @@ pub fn collect_tests<F: FnMut(String, TestFn)>(add_test: &mut F) {
|
|
|
) {
|
|
|
Ok(ProcessingSuccess::Passthrough) => (
|
|
|
Ok(source.to_string()),
|
|
|
- if verify_dns_length(&source, true) {
|
|
|
+ if verify_dns_length(&source, false) {
|
|
|
Ok(source.to_string())
|
|
|
} else {
|
|
|
Err(Errors::default())
|
|
|
@@ -121,7 +121,7 @@ pub fn collect_tests<F: FnMut(String, TestFn)>(add_test: &mut F) {
|
|
|
if to_ascii_simultaneous.is_empty() {
|
|
|
(
|
|
|
Ok(to_unicode_simultaneous.clone()),
|
|
|
- if verify_dns_length(&to_unicode_simultaneous, true) {
|
|
|
+ if verify_dns_length(&to_unicode_simultaneous, false) {
|
|
|
Ok(to_unicode_simultaneous)
|
|
|
} else {
|
|
|
Err(Errors::default())
|
|
|
@@ -130,7 +130,7 @@ pub fn collect_tests<F: FnMut(String, TestFn)>(add_test: &mut F) {
|
|
|
} else {
|
|
|
(
|
|
|
Ok(to_unicode_simultaneous),
|
|
|
- if verify_dns_length(&to_ascii_simultaneous, true) {
|
|
|
+ if verify_dns_length(&to_ascii_simultaneous, false) {
|
|
|
Ok(to_ascii_simultaneous)
|
|
|
} else {
|
|
|
Err(Errors::default())
|