summaryrefslogtreecommitdiff
path: root/FS/FS/domain_record.pm
diff options
context:
space:
mode:
authorivan <ivan>2005-05-03 08:46:57 +0000
committerivan <ivan>2005-05-03 08:46:57 +0000
commit2400e6482efae6a17a2e4f6b2eeabde051d9522f (patch)
treec045cabb835124c9f13b48030669925f753ad4ef /FS/FS/domain_record.pm
parent2eb5fc5cdbe002fd17a4d3ee5bde71b4f5422f8b (diff)
[:ascii:] is not legal for 5.005, alas, it still needs to be supported for just a little bit longer
Diffstat (limited to 'FS/FS/domain_record.pm')
-rw-r--r--FS/FS/domain_record.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/domain_record.pm b/FS/FS/domain_record.pm
index f052f83..e975cac 100644
--- a/FS/FS/domain_record.pm
+++ b/FS/FS/domain_record.pm
@@ -292,7 +292,7 @@ sub check {
or return "Illegal data for CNAME record: ". $self->recdata;
$self->recdata($1);
} elsif ( $self->rectype eq 'TXT' ) {
- $self->recdata =~ /^((?:\S+)|(?:"[[:ascii:]]+"))$/
+ $self->recdata =~ /^((?:\S+)|(?:".+"))$/
or return "Illegal data for TXT record: ". $self->recdata;
$self->recdata($1);
} elsif ( $self->rectype eq '_mstr' ) {