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

Re: Bug: Control char in commit message

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-12-05 00:41:18 CET

Marcus Comstedt <marcus@mc.pp.se> writes:

> Karl Fogel <kfogel@newton.ch.collab.net> writes:
>
> > So either way, we still need to xml-escape properties, then? I've
> > annotated issue #1015 accordingly.
>
> Yes. Otherwise you can't even use the character "&", since this
> character must always be escaped in XML.

Look at libsvn_subr/xml.c:xml_escape, Subversion currently escapes the
five characters &<>"'. In particular it doesn't escape the ^H that
Andreas used. I find it odd that Subversion "escapes" a different set
of characters from that "quoted" by apr_xml_quote_elem, but then I
don't know much about XML or UTF8.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 5 00:42:07 2002

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.