summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2015-07-26 23:50:05 +0200
committerBenny Baumann <BenBE@geshi.org>2015-07-26 23:50:05 +0200
commit48c5ae62272b7acdd9452267b82bae066dcb2052 (patch)
tree37b3b083d236dee28fdab0c0666a4df083831b38
parentdcab312e776396123f9c4e2cca724fd681fcb42e (diff)
parent3c8261031957cc9418a9e185cdb70084653c936e (diff)
downloadcacert-devel-48c5ae62272b7acdd9452267b82bae066dcb2052.tar.gz
cacert-devel-48c5ae62272b7acdd9452267b82bae066dcb2052.tar.xz
cacert-devel-48c5ae62272b7acdd9452267b82bae066dcb2052.zip
Merge branch 'bug-1392' into testserver-stable
-rw-r--r--includes/general.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/general.php b/includes/general.php
index 23499af..76c6831 100644
--- a/includes/general.php
+++ b/includes/general.php
@@ -377,7 +377,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;
}
@@ -487,7 +487,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;
}