summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5d606d4)
raw | patch | inline | side by side (parent: 5d606d4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 15 Sep 2006 05:04:46 +0000 (05:04 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 15 Sep 2006 05:04:46 +0000 (05:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4672 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 9313760bae318a508b465af571cbc4e0c8581e89..5e15d269b9d2efc1bc03cc3e5c8bb29806cd6bc6 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']) ||