From: cajus Date: Wed, 29 Jun 2005 05:18:45 +0000 (+0000) Subject: Validate application option names upper and lower case X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4db6eabe9a53ce3656a375d461b0c46694302e24;p=gosa.git Validate application option names upper and lower case git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@903 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/applications/class_applicationParameters.inc b/plugins/admin/applications/class_applicationParameters.inc index de1d0495c..bf4d99c1e 100644 --- a/plugins/admin/applications/class_applicationParameters.inc +++ b/plugins/admin/applications/class_applicationParameters.inc @@ -145,7 +145,7 @@ class applicationParameters extends plugin /* Check for valid option names */ for ($i= 0; $ioption_name); $i++){ - if (!preg_match ("/^[a-z0-9_]+$/", $this->option_name[$i])){ + if (!preg_match ("/^[a-z0-9_]+$/i", $this->option_name[$i])){ $message[]= sprintf(_("Value '%s' specified as option name is not valid."), $this->option_name[$i]); }