Skip to content

Commit

Permalink
wr217283: don't validate DomainName field
Browse files Browse the repository at this point in the history
When using this with the SRS application, it will result in changes to
error messages. However, at a later date we'll probably want to re-enable
this.
  • Loading branch information
Mutant committed Dec 17, 2013
1 parent a5486a3 commit 23fbfc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/XML/SRS/Types.pm
Expand Up @@ -36,7 +36,8 @@ our $DNS_name_re = qr/(?:$RR_re\.)+$RR_re/;
subtype "${PKG}::DomainName"
=> as "Str"
=> where {
m{\A$DNS_name_re\Z};
1;
#m{\A$DNS_name_re\Z};
};

subtype "${PKG}::UDAI"
Expand Down

0 comments on commit 23fbfc5

Please sign in to comment.