summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8e38225)
raw | patch | inline | side by side (parent: 8e38225)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 29 Aug 2005 08:15:09 +0000 (08:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 29 Aug 2005 08:15:09 +0000 (08:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1242 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 398ef9b5dc6fa621b6aca4efdb40b1a6afebc667..92452675893c7c61a970ebb01d86988f22192dea 100644 (file)
*/
if(isset($_POST['gotoShareAdd'])){
/* We assign a share to this user, if we don't know where to mount the share */
- if((!isset($_POST['gotoShareMountPoint']))||(empty($_POST['gotoShareMountPoint']))){
+ if((!isset($_POST['gotoShareMountPoint']))||(empty($_POST['gotoShareMountPoint']))||(preg_match("/[\|]/i",$_POST['gotoShareMountPoint']))){
print_red("You must specify a valid mount point.");
}else{
$a_share = $this->gotoAvailableShares[$_POST['gotoShareSelection']];