cifs,ftpfs dont quote username, double quote password #3

This commit is contained in:
IgnorantGuru 2012-06-30 10:53:56 -06:00
parent d199d6d648
commit fe3d3d4ff8
3 changed files with 11 additions and 6 deletions

View File

@ -1,5 +1,5 @@
0.2.9+
cifs,ftpfs dont quote username, double quote password #3
0.2.9 2012-06-29:
fixed POTFILES.in to correct build deb problem #2
users can mount/umount tmpfs and ramfs if in allowed_types; updated conf

5
README
View File

@ -44,6 +44,8 @@ DESCRIPTION
PACKAGES
antiX-12 base & full will include udevil (currently available in testing):
http://sourceforge.net/projects/antix-linux/
Arch's AUR includes udevil-git:
https://aur.archlinux.org/packages.php?ID=59463
@ -66,6 +68,9 @@ PACKAGES
Gentoo's portage tree includes udevil:
http://packages.gentoo.org/package/sys-apps/udevil
Parted Magic includes SpaceFM with udevil as its default file manager:
http://partedmagic.com/doku.php
Other: See INSTALLER below
NOTE: See POST INSTALL section below for post-installation steps.

View File

@ -3279,13 +3279,13 @@ _get_type:
if ( netmount->user )
{
str = net_opts;
net_opts = g_strdup_printf( "%s,user='%s'", str, netmount->user );
net_opts = g_strdup_printf( "%s,user=%s", str, netmount->user );
g_free( str );
}
if ( netmount->pass )
{
str = net_opts;
net_opts = g_strdup_printf( "%s,pass='%s'", str, netmount->pass );
net_opts = g_strdup_printf( "%s,pass=\"%s\"", str, netmount->pass );
g_free( str );
}
if ( netmount->port )
@ -3297,7 +3297,7 @@ _get_type:
if ( netmount->path && strcmp( netmount->path, "/" ) )
{
str = net_opts;
net_opts = g_strdup_printf( "%s,root='%s'", str, netmount->path );
net_opts = g_strdup_printf( "%s,root=\"%s\"", str, netmount->path );
g_free( str );
}
}
@ -3312,13 +3312,13 @@ _get_type:
if ( netmount->user )
{
str = net_opts;
net_opts = g_strdup_printf( "%s,user='%s'", str, netmount->user );
net_opts = g_strdup_printf( "%s,user=%s", str, netmount->user );
g_free( str );
}
if ( netmount->pass )
{
str = net_opts;
net_opts = g_strdup_printf( "%s,password='%s'", str, netmount->pass );
net_opts = g_strdup_printf( "%s,password=\"%s\"", str, netmount->pass );
g_free( str );
}
if ( netmount->port )