forked from extern/egroupware
urlencode password to cope with url special chars like forward slash or @ in passwords
This commit is contained in:
parent
73cba1f328
commit
7e8db9b2fe
@ -199,7 +199,7 @@ class vfs_stream_wrapper implements iface_stream_wrapper
|
|||||||
{
|
{
|
||||||
$defaults = array(
|
$defaults = array(
|
||||||
'user' => $GLOBALS['egw_info']['user']['account_lid'],
|
'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'],
|
'host' => $GLOBALS['egw_info']['user']['domain'],
|
||||||
'home' => str_replace(array('\\\\','\\'),array('','/'),$GLOBALS['egw_info']['user']['homedirectory']),
|
'home' => str_replace(array('\\\\','\\'),array('','/'),$GLOBALS['egw_info']['user']['homedirectory']),
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user