httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r729643 - /httpd/mod_mbox/trunk/module-2.0/mod_mbox_sitemap.c
Date Sat, 27 Dec 2008 17:12:45 GMT
Author: pquerna
Date: Sat Dec 27 09:12:45 2008
New Revision: 729643

URL: http://svn.apache.org/viewvc?rev=729643&view=rev
Log:
Wrap all URLs to messages in a CDATA, so we don't need to go down the path of proper entity
encoding (I hate xml).

Modified:
    httpd/mod_mbox/trunk/module-2.0/mod_mbox_sitemap.c

Modified: httpd/mod_mbox/trunk/module-2.0/mod_mbox_sitemap.c
URL: http://svn.apache.org/viewvc/httpd/mod_mbox/trunk/module-2.0/mod_mbox_sitemap.c?rev=729643&r1=729642&r2=729643&view=diff
==============================================================================
--- httpd/mod_mbox/trunk/module-2.0/mod_mbox_sitemap.c (original)
+++ httpd/mod_mbox/trunk/module-2.0/mod_mbox_sitemap.c Sat Dec 27 09:12:45 2008
@@ -74,7 +74,7 @@
 
         ap_rputs("<url>\n", r);
 
-        ap_rprintf(r, "<loc>%s%s/%s</loc>\n",
+        ap_rprintf(r, "<loc><![CDATA[%s%s/%s]]></loc>\n",
                    ap_construct_url(tpool, r->uri, r),
                    mboxfile, URI_ESCAPE_OR_BLANK(tpool, m->msgID));
 



Mime
View raw message