From: tausq <> Date: Mon, 13 Dec 1999 03:56:48 +0000 (+0000) Subject: left out one X-Git-Tag: release-0.3.33~144 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap-cgi.git;a=commitdiff_plain;h=2333aa3b88bd7c8b6b867ae5689bb174a558804c left out one --- diff --git a/update.cgi b/update.cgi index d8e0ad0..33fc9de 100755 --- a/update.cgi +++ b/update.cgi @@ -1,6 +1,6 @@ #!/usr/bin/perl -# $Id: update.cgi,v 1.4 1999/12/13 04:53:28 tausq Exp $ +# $Id: update.cgi,v 1.5 1999/12/13 04:56:48 tausq Exp $ # (c) 1999 Randolph Chung. Licensed under the GPL. use lib '.'; @@ -94,7 +94,8 @@ if (!($query->param('doupdate'))) { # Actually update stuff... my ($newpassword, $newstaddress); - if ($query->param('labeledurl') !~ /^https?:\/\//i) { + if (($query->param('labeledurl')) && + ($query->param('labeledurl') !~ /^https?:\/\//i)) { &Util::HTMLError("Your homepage URL is invalid"); }