You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2009/05/07 18:42:10 UTC
svn commit: r772700 - /httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c
Author: pquerna
Date: Thu May 7 16:42:10 2009
New Revision: 772700
URL: http://svn.apache.org/viewvc?rev=772700&view=rev
Log:
Correctly escape Ampersands in the xml output.
Submitted by: Rick van der Zwet <info rickvanderzwet.nl>
Modified:
httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c
Modified: httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c
URL: http://svn.apache.org/viewvc/httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c?rev=772700&r1=772699&r2=772700&view=diff
==============================================================================
--- httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c (original)
+++ httpd/mod_mbox/trunk/module-2.0/mod_mbox_out.c Thu May 7 16:42:10 2009
@@ -488,7 +488,7 @@
}
ap_rprintf(r, " <message linked=\"%d\" depth=\"%d\" id=\"%s\">\n",
- linked, depth, URI_ESCAPE_OR_BLANK(r->pool, m->msgID));
+ linked, depth, ESCAPE_OR_BLANK(r->pool, m->msgID));
ap_rprintf(r, " <from><![CDATA[%s]]></from>\n", from);
ap_rprintf(r, " <date><![CDATA[%s]]></date>\n",