* Filemanager: urlencode password to cope with url special chars like forward slash or @ in passwords, requires smbcw version 1.2

This commit is contained in:
Ralf Becker 2013-06-03 19:33:39 +00:00
parent 4cc09af45d
commit 5ace3f834c

View File

@ -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']),
);