Bug 28499 - handling of local pathnames on windows doesnt work correct
Summary: handling of local pathnames on windows doesnt work correct
Status: RESOLVED FIXED
Alias: None
Product: Slide
Classification: Unclassified
Component: WebDAV client (show other bugs)
Version: 2.0
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---
Assignee: Slide Developer List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-20 13:37 UTC by Thomas Bernert
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments
Bugfix (1.14 KB, patch)
2004-04-20 13:38 UTC, Thomas Bernert
Details | Diff
Bugfix (4.10 KB, patch)
2004-04-20 13:38 UTC, Thomas Bernert
Details | Diff
Bugfix (3.75 KB, patch)
2004-04-20 14:40 UTC, Thomas Bernert
Details | Diff
Bugfix (3.75 KB, patch)
2004-04-20 14:41 UTC, Thomas Bernert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Bernert 2004-04-20 13:37:59 UTC
there seems to be a regression regarding the handling of local pathnames 
on Windows in the commandline client:

The backslash (the separator charactor on windows) isn't allowd in 
pathnames anymore in 2.0-beta1/CVS-HEAD.

I type:
[ Slide ] $ lcd ..\..

1.0.16 changes the local working directory correctly.

CVS-HEAD replies:
Error: line 1:7: unexpected char: '\'
[ Slide ] $ Error: invalid command: ..

Furthermore changing to another drive doesn't work (this happens all 
versions):
[ Slide ] $ lcd c:
lcd c:
Warning: Not found the path

It seems to me, that in Client.java:477 a path starting with "c:" isn't 
recognized as an absolute path, but treated as relative.
Comment 1 Thomas Bernert 2004-04-20 13:38:23 UTC
Created attachment 11288 [details]
Bugfix
Comment 2 Thomas Bernert 2004-04-20 13:38:37 UTC
Created attachment 11289 [details]
Bugfix
Comment 3 Thomas Bernert 2004-04-20 14:40:22 UTC
Created attachment 11290 [details]
Bugfix
Comment 4 Thomas Bernert 2004-04-20 14:41:32 UTC
Created attachment 11291 [details]
Bugfix
Comment 5 Oliver Zeigermann 2004-04-21 08:27:56 UTC
Patch applied