Ticket #9524: #9524_export.php.diff

File #9524_export.php.diff, 833 bytes (added by mtekk, 4 years ago)
Line 
1Index: export.php
2===================================================================
3--- export.php  (revision 10973)
4+++ export.php  (working copy)
5@@ -313,7 +313,7 @@
6 <wp:comment_id><?php echo $c->comment_ID; ?></wp:comment_id>
7 <wp:comment_author><?php echo wxr_cdata($c->comment_author); ?></wp:comment_author>
8 <wp:comment_author_email><?php echo $c->comment_author_email; ?></wp:comment_author_email>
9-<wp:comment_author_url><?php echo $c->comment_author_url; ?></wp:comment_author_url>
10+<wp:comment_author_url><?php echo htmlspecialchars($c->comment_author_url); ?></wp:comment_author_url>
11 <wp:comment_author_IP><?php echo $c->comment_author_IP; ?></wp:comment_author_IP>
12 <wp:comment_date><?php echo $c->comment_date; ?></wp:comment_date>
13 <wp:comment_date_gmt><?php echo $c->comment_date_gmt; ?></wp:comment_date_gmt>