From 2e833f36f41e6927830a69b9adf0c2f6fdd016ae Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 30 Oct 2006 07:14:33 +0000 Subject: [PATCH] Updated Free Busy url check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4959 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/connectivity/class_kolabAccount.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/personal/connectivity/class_kolabAccount.inc b/plugins/personal/connectivity/class_kolabAccount.inc index 2874156a4..12e89323e 100644 --- a/plugins/personal/connectivity/class_kolabAccount.inc +++ b/plugins/personal/connectivity/class_kolabAccount.inc @@ -301,7 +301,7 @@ class kolabAccount extends plugin } /* Check for URL scheme... */ - if ($this->calFBURL != "" && !@preg_match('/^[^:/]+://[a-z0-9_/.+~-]+$/i', $this->calFBURL)){ + if(!empty($this->calFBURL) && !preg_match("/(https|https):\/\//",$this->calFBURL)){ $message[]= _("The value specified as Free Busy Information URL is invalid."); } -- 2.30.2