summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 91d3096)
raw | patch | inline | side by side (parent: 91d3096)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Sep 2006 09:14:20 +0000 (09:14 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Sep 2006 09:14:20 +0000 (09:14 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4576 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/environment/class_environment.inc | patch | blob | history |
diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc
index 9f5e7c4ce77ab61b47d4e9f17af887b10cfc8bd3..f9671b54a9124e772d3f04944990e16334b75748 100644 (file)
/* We assign a share to this user, if we don't know where to mount the share */
if((!isset($_POST['gotoShareMountPoint']))||(empty($_POST['gotoShareMountPoint']))||(preg_match("/[\|]/i",$_POST['gotoShareMountPoint']))){
print_red(_("You must specify a valid mount point."));
+ }elseif(preg_match('/ /', $_POST['gotoShareMountPoint'])){
+ print_red(_("Spaces are not allowed in the mount path!"));
}elseif(!(
preg_match("/^\//",$_POST['gotoShareMountPoint']) ||
preg_match("/^~/",$_POST['gotoShareMountPoint']) ||