summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2013-04-30 23:37:30 +0200
committerBenny Baumann <BenBE@geshi.org>2013-04-30 23:37:30 +0200
commitb5e0f8e1a5d6cb370a18673a0c01a31b93e7ca69 (patch)
tree1fb9b3c922d12312cf0ac0448e15d4fc975942df /includes
parentc90e7eefc0940a66329ffd80925a107b81bcb823 (diff)
parent03ff2c3c7144979ddd18c7110c7decca00bd68f8 (diff)
downloadcacert-devel-b5e0f8e1a5d6cb370a18673a0c01a31b93e7ca69.tar.gz
cacert-devel-b5e0f8e1a5d6cb370a18673a0c01a31b93e7ca69.tar.xz
cacert-devel-b5e0f8e1a5d6cb370a18673a0c01a31b93e7ca69.zip
Merge branch 'bug-893' into testserver-stable
Diffstat (limited to 'includes')
-rw-r--r--includes/account.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/includes/account.php b/includes/account.php
index 8b61597..33e574b 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -2875,7 +2875,13 @@
$_REQUEST['userid'] = intval($_REQUEST['userid']);
if (trim($_REQUEST['arbitrationno'])==""){
showheader(_("My CAcert.org Account!"));
- echo _("You did not enter an arbitration number.");
+ echo _("You did not enter an arbitration number entry.");
+ showfooter();
+ exit;
+ }
+ if ( 1 === preg_match_all('/^[a-z]\d{8}\.\d+\.\d+$/',trim($_REQUEST['arbitrationno'])) ) {
+ showheader(_("My CAcert.org Account!"));
+ echo _("You did not enter an arbitration number entry.");
showfooter();
exit;
}