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

Re: Problem with files that have %

From: Michael W Thelen <thelenm_at_cs.utah.edu>
Date: 2004-08-20 20:36:56 CEST

* Greg Hudson <ghudson@MIT.EDU> [2004-08-17 23:12]:
> > Hm. 1.1.0-rc2 has 'auto-escaping'. I wonder why it's not automatically
> > converting % into %25, the same way it converts space into %20.
>
> I think '%' is one of those characters which it would be dangerous to
> auto-escape, since it's itself the escape character. It would be odd
> for 'foo%bar' to work one way but 'foo%25bar' to work a completely
> different way.

Maybe it would be safe to translate % automatically to %25 only if it's at the
end of the string, as it is in the original poster's example?

-- 
Michael W. Thelen
The reverse side also has a reverse side.
                -- Japanese proverb

Received on Fri Aug 20 20:38:48 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.