From 5ace3f834cde243c531e1c5cd926195396206569 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 3 Jun 2013 19:33:39 +0000 Subject: [PATCH] * Filemanager: urlencode password to cope with url special chars like forward slash or @ in passwords, requires smbcw version 1.2 --- phpgwapi/inc/class.vfs_stream_wrapper.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.vfs_stream_wrapper.inc.php b/phpgwapi/inc/class.vfs_stream_wrapper.inc.php index cd8da83c9b..5ea396d454 100644 --- a/phpgwapi/inc/class.vfs_stream_wrapper.inc.php +++ b/phpgwapi/inc/class.vfs_stream_wrapper.inc.php @@ -199,7 +199,7 @@ class vfs_stream_wrapper implements iface_stream_wrapper { $defaults = array( 'user' => $GLOBALS['egw_info']['user']['account_lid'], - 'pass' => $GLOBALS['egw_info']['user']['passwd'], + 'pass' => urlencode($GLOBALS['egw_info']['user']['passwd']), 'host' => $GLOBALS['egw_info']['user']['domain'], 'home' => str_replace(array('\\\\','\\'),array('','/'),$GLOBALS['egw_info']['user']['homedirectory']), );