[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Possible bug regarding spaces in unc paths in 1.6.8

From: David Balažic <david.balazic_at_comtrade.com>
Date: Tue, 15 Jun 2010 18:58:45 +0200

Stefan Küng wrote:

> > 1.) Windows XP Pro SP3
> > 2.) Yes, I can also put documents on the web that have the percent
> > sign in their path. Don't see your point.
> But on the web, those paths need to be escaped.
> A file:/// url on Windows doesn't need escaping to work:
> file:///c:/program files/myfile
> works too, so there's a problem.
> On a webserver, a space in an url is not allowed. For windows
> file:///
> urls it is allowed.

I created a folder called C:\Program%20files
I can reference both this and the original without any ambiguity.

file:///C:/Program%2520files/ -> opens the new one
file:///C:/Program%20files/ -> opens the old one

Maybe the OS API used by (T)SVN has some bu^Wfeatures regarding this.

Again, I don't understand why is it a problem, that unescaped URLs also work?
Just use escaped ones, they work also. (I'm probably missing something,
as I have not looked into actual (T)SVN code)



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-06-15 18:58:30 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.