summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ac55faf)
raw | patch | inline | side by side (parent: ac55faf)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 30 Oct 2006 07:14:33 +0000 (07:14 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 30 Oct 2006 07:14:33 +0000 (07:14 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4959 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/connectivity/class_kolabAccount.inc | patch | blob | history |
diff --git a/plugins/personal/connectivity/class_kolabAccount.inc b/plugins/personal/connectivity/class_kolabAccount.inc
index 2874156a4d905817879f9652d94027a67a4dad9c..12e89323e30928bde5719d3fcad22876e0f10c98 100644 (file)
}
/* 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.");
}