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

Re: Interesting problem with ":" in mod_dav_svn XML output

From: Michael Sinz <Michael.Sinz_at_sinz.org>
Date: 2005-10-22 05:15:31 CEST

Kalle Olavi Niemitalo wrote:
> Michael Sinz <Michael.Sinz@sinz.org> writes:
>
>
>>Anyway, the problem is that the ":" character is not escaped in the
>>"href" attribute of the file and directory elements.
>>
>>This is a problem as the ":" character is a special character that
>>separates protocol from port within a URL and thus must be escaped
>>if it is not serving in that manner.
>
>
> Are the "href" attributes in the XML output even documented to be URLs?

 From what I know, they are "relative" URLs, specifically formatted
(and escaped) to be that. (Check out subversion/mod_dav_svn/repos.c around
line 3331 or so.)

-- 
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 Sat Oct 22 05:16:43 2005

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.