projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dc265f
)
Allow smbfs path to contain \
author
Jamie Cameron
<jcameron@webmin.com>
Sat, 18 Jun 2011 22:32:43 +0000
(15:32 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Sat, 18 Jun 2011 22:32:43 +0000
(15:32 -0700)
https://www.virtualmin.com/node/18565
mount/linux-lib.pl
patch
|
blob
|
history
diff --git
a/mount/linux-lib.pl
b/mount/linux-lib.pl
index
ddfc539
..
a102130
100755
(executable)
--- a/
mount/linux-lib.pl
+++ b/
mount/linux-lib.pl
@@
-1035,7
+1035,7
@@
elsif ($_[0] eq "swap") {
}
elsif ($_[0] eq $smbfs_fs || $_[0] eq "cifs") {
# Windows filesystem
- $_[1] =~ /^\\\\(
.
*)\\(.*)$/;
+ $_[1] =~ /^\\\\(
[^\\]
*)\\(.*)$/;
local ($server, $share) = ($1, $2);
print "<tr> <td><b>$text{'linux_smbserver'}</b></td>\n";
print "<td><input name=smbfs_server value=\"$server\" size=20>\n";