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

Re: Control characters in log message cause failure

From: Mark Benedetto King <mbk_at_lowlatency.com>
Date: 2004-12-01 22:36:07 CET

On Wed, Dec 01, 2004 at 02:08:34PM -0600, kfogel@collab.net wrote:
> So my pseudo-code from before should really look like this:
>
> /* sending a log msg from server to client */
>
> if (is_valid_utf8 (msg)) {
> if (svn_xml_is_xml_safe (msg)) {
> send_message (escape_xml (msg));
> }
> else {
> send_message (base64_escape (msg));
> }
> }
> else {
> send_message (fuzzy_escape (msg));
> }
>

What does the receiver do when it receives the message? How does it know
which escaping mechanism to invert?

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 1 22:38:03 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.