summaryrefslogtreecommitdiff
path: root/kontakt.cgi
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-03-28 16:22:57 +0100
committerJonas Smedegaard <dr@jones.dk>2024-03-28 16:22:57 +0100
commitba059e7a026731d79e7536799dd68d867e42a5a5 (patch)
treef6206518f2602f2a44218c7dadaad4e9b5b9c285 /kontakt.cgi
parent1eaaf916c4c77e5b34e5b7a12b48569cc267d844 (diff)
fix commented out syntaxHEADmaster
Diffstat (limited to 'kontakt.cgi')
-rwxr-xr-xkontakt.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/kontakt.cgi b/kontakt.cgi
index 8a461fb..78e845f 100755
--- a/kontakt.cgi
+++ b/kontakt.cgi
@@ -35,7 +35,7 @@ my $form = CGI::FormBuilder->new(
/],
validate => {
postnr => 'INT',
- #email => 'MAIL', # Built-in email validation is too simplistic
+ #email => 'EMAIL', # Built-in email validation is too simplistic
email => '/^[+_A-Za-z0-9-]+(\.[+_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(\.[_A-Za-z0-9-]+)$/',
antal => 'INT',
},