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

Re: error: file is not properly URI-encoded

From: Peter Lundblad <plundblad_at_google.com>
Date: 2007-05-31 11:07:54 CEST

Ben Collins-Sussman writes:
> This might be a bug. In theory, the commandline client *should* be
> automatically doing url-encoding of URLs passed in quotes.
>
Hi,

Despite from the fact that the quotes thing doesn't have anything to
do with it, this is not a bug, but a deliberate decision. We only
escape a handful of characters (see docs for svn_uri_autoescape) that
can't mean anything in an URI. Now, # is probably safe for our
purposes and since we don't allow it in URIs anyway, we could probably
add it to the table.

Note that this autoescaping is just a convenience. Scripts should
make sure to add properly escaped URLs to be robust.

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 31 11:10:00 2007

This is an archived mail posted to the Subversion Dev mailing list.