summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2015-07-26 23:49:06 +0200
committerBenny Baumann <BenBE@geshi.org>2015-07-26 23:49:06 +0200
commit86fd20719e199c2400427ad2198223f0f2bad49f (patch)
treec89800914d14d6b53e8a75541c7f622edb1a39f1
parent310fd4c54a84cb1e7b8a8a24a6224f15711333f7 (diff)
parent3c8261031957cc9418a9e185cdb70084653c936e (diff)
downloadcacert-devel-86fd20719e199c2400427ad2198223f0f2bad49f.tar.gz
cacert-devel-86fd20719e199c2400427ad2198223f0f2bad49f.tar.xz
cacert-devel-86fd20719e199c2400427ad2198223f0f2bad49f.zip
Merge branch 'bug-1392' into release
-rw-r--r--includes/general.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/general.php b/includes/general.php
index e6e440f..2eef65e 100644
--- a/includes/general.php
+++ b/includes/general.php
@@ -356,7 +356,7 @@
}
}
- if(!preg_match("/(?=^.{4,253}$)(^(?:\\*\\.)?((?!-)[a-zA-Z0-9_-]{1,63}(?<!-)\\.)+[a-zA-Z]{2,63}$)/i", $subalt)) {
+ if(!preg_match("/(?=^.{4,253}$)(^(?:\\*\\.)?((?!-)[a-zA-Z0-9_-]{1,63}(?<!-)\\.)+[a-zA-Z]{2,63}$)/i", $alt)) {
$altok = 0;
}
@@ -455,7 +455,7 @@
}
}
- if(!preg_match("/(?=^.{4,253}$)(^(?:\\*\\.)?((?!-)[a-zA-Z0-9_-]{1,63}(?<!-)\\.)+[a-zA-Z]{2,63}$)/i", $subalt)) {
+ if(!preg_match("/(?=^.{4,253}$)(^(?:\\*\\.)?((?!-)[a-zA-Z0-9_-]{1,63}(?<!-)\\.)+[a-zA-Z]{2,63}$)/i", $alt)) {
continue;
}