mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
Canonicalise pathnames returned to Windows directory separators.
Found by Andrew at connectathon with some new tests
Jeremy.
(This used to be commit 4aaa4f52b8
)
This commit is contained in:
parent
a2b95edf7f
commit
076e879ac1
@ -1559,6 +1559,7 @@ static int call_trans2qfilepathinfo(connection_struct *conn,
|
||||
pstrcpy(dos_fname, "\\");
|
||||
} else {
|
||||
snprintf(dos_fname, sizeof(dos_fname), "\\%s", fname);
|
||||
string_replace( dos_fname, '/', '\\');
|
||||
}
|
||||
|
||||
switch (info_level) {
|
||||
|
Loading…
Reference in New Issue
Block a user