From: Mantis B. T. <no...@bu...> - 2010-12-28 11:05:19
|
A NOTE has been added to this issue. ====================================================================== http://bugs.bacula.org/view.php?id=1678 ====================================================================== Reported By: big_snejok Assigned To: ebollengier ====================================================================== Project: bacula Issue ID: 1678 Category: Director Reproducibility: always Severity: minor Priority: normal Status: assigned ====================================================================== Date Submitted: 2010-12-28 10:31 GMT Last Modified: 2010-12-28 11:05 GMT ====================================================================== Summary: Can't restore path with backslash Description: I did backup (for example) "C:\ccc" path from Windows bacula client. I can't to "mark" this path in bconsole, even with escape backslash: "C:\\ccc": $ mark C:\ccc No files marked. $ mark C:\\ccc No files marked. Small patch in attachment fixes this problem for "mark" command ====================================================================== ---------------------------------------------------------------------- (0005683) ebollengier (administrator) - 2010-12-28 10:50 http://bugs.bacula.org/view.php?id=1678#c5683 ---------------------------------------------------------------------- It's a bit strange, c:\ccc in bacula is represented as c:/ccc, so I don't see the need to use \ in a path name. It looks to be a support issue. Your patch won't allow users to escape characters in the selection (I can't tell if it's really important), and it looks to be a regression. ---------------------------------------------------------------------- (0005684) big_snejok (reporter) - 2010-12-28 10:59 http://bugs.bacula.org/view.php?id=1678#c5684 ---------------------------------------------------------------------- ok, but how about this case: linux client, path to restore "/home/user/foo\bar". I can't restore this too. ---------------------------------------------------------------------- (0005685) ebollengier (administrator) - 2010-12-28 11:05 http://bugs.bacula.org/view.php?id=1678#c5685 ---------------------------------------------------------------------- In this case foo\\bar should work. (To escape \, you should use \\). It can probably be selected with quotes too. Issue History Date Modified Username Field Change ====================================================================== 2010-12-28 10:31 big_snejok New Issue 2010-12-28 10:31 big_snejok File Added: bacula.FNM_NOESCAPE.patch 2010-12-28 10:32 big_snejok Issue Monitored: big_snejok 2010-12-28 10:34 big_snejok Tag Attached: backslash 2010-12-28 10:34 big_snejok Tag Attached: bconsole 2010-12-28 10:34 big_snejok Tag Attached: patch 2010-12-28 10:50 ebollengier Note Added: 0005683 2010-12-28 10:50 ebollengier Assigned To => ebollengier 2010-12-28 10:50 ebollengier Status new => feedback 2010-12-28 10:59 big_snejok Note Added: 0005684 2010-12-28 10:59 big_snejok Status feedback => assigned 2010-12-28 11:05 ebollengier Note Added: 0005685 ====================================================================== |