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

Re: reminder: Issue 2423 - correctly escaping ":" characters in file names in the repository when accessed via HTTP

From: Michael Sinz <Michael.Sinz_at_sinz.org>
Date: 2005-11-03 18:35:49 CET

On 11/3/05, Julian Foad <julianfoad@btopenworld.com> wrote:
> Michael Sinz wrote:
> > Patch is already attached to 2423 and I believe it to be correct.
>
> Please could you remind us what this issue is about by mentioning its subject
> in the subject line? (Yes I know I could go to the issue and find out, but I'm
> probably not interested in it so I'm not going to.)

Sorry - I too want that in the subject.

I have updated the subject.

Also, more directly, the issue has to do with the fact that the escaping
function called to make a valid URL does not deal with a ":" character in
a relative path URL, which is what mod_dav_svn generates in the HTML
and XML output. A simple change to call the same function with an
argument telling it that the URL is relative and will not have a full path
pre-pended to it fixes the problem. (Note that the call looks different
since a #define is used to make the secondary parameter optional)

--
Michael Sinz               Technology and Engineering Director/Consultant
"Starting Startups"                          mailto:Michael.Sinz@sinz.org
My place on the web                      http://www.sinz.org/Michael.Sinz
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 3 18:37:01 2005

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