summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 79e0485)
raw | patch | inline | side by side (parent: 79e0485)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 13 Sep 2005 05:49:28 +0000 (05:49 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 13 Sep 2005 05:49:28 +0000 (05:49 +0000) |
characters like ' " caused mysql_errors
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1347 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1347 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/generic/class_user.inc | patch | blob | history |
index d09c80e0a2e5675e1c353de15248a7643e97e1d0..d66750bfb710d558d3216bac91c74318fb963c7d 100644 (file)
}
/* Check for reserved characers */
- if (preg_match ('/[,+"<>;]/', $this->givenName)){
+ if (preg_match ('/[,+"?\'<>;]/', $this->givenName)){
$message[]= _("The field 'Given name' contains invalid characters.");
}
- if (preg_match ('/[,+"<>;]/', $this->sn)){
+ if (preg_match ('/[,+"?\'<>;]/', $this->sn)){
$message[]= _("The field 'Name' contains invalid characters.");
}