[Codestriker-commits] CVS update: codestriker CHANGELOG
Brought to you by:
sits
|
From: <si...@us...> - 2008-08-03 02:08:59
|
User: sits
Date: 08/08/02 19:08:58
Modified: template/en/default listtopics.xml.tmpl
. CHANGELOG
Log:
* Make sure XML representation of a topic has its data properly escaped.
Fixed by rob...@us....
Index: listtopics.xml.tmpl
===================================================================
RCS file: /cvsroot/codestriker/codestriker/template/en/default/listtopics.xml.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- listtopics.xml.tmpl 20 Jun 2008 04:27:15 -0000 1.1
+++ listtopics.xml.tmpl 3 Aug 2008 02:08:58 -0000 1.2
@@ -5,23 +5,23 @@
[% FOREACH topic = alltopics %]
<topic>
<topicid>[% topic.topicid %]</topicid>
- <title>[% topic.title %]</title>
- <description>[% topic.description %]</description>
- <topic_state>[% topic.topic_state %]</topic_state>
+ <title>[% topic.title | html_entity %]</title>
+ <description>[% topic.description | html_entity %]</description>
+ <topic_state>[% topic.topic_state | html_entity %]</topic_state>
<topic_state_id>[% topic.topic_state_id %]</topic_state_id>
- <author>[% topic.author %]</author>
- <cc>[% topic.cc %]</cc>
- <reviewers>[% topic.reviewers %]</reviewers>
- <project_name>[% topic.project_name %]</project_name>
+ <author>[% topic.author | html_entity %]</author>
+ <cc>[% topic.cc | html_entity %]</cc>
+ <reviewers>[% topic.reviewers | html_entity %]</reviewers>
+ <project_name>[% topic.project_name | html_entity %]</project_name>
<project_id>[% topic.project_id %]</project_id>
[%# Make sure we remove any password from the end of the repository %]
- <repository>[% topic.repository.split( ';' ).0 %]</repository>
- <module>[% topic.module %]</module>
- <start_tag>[% topic.start_tag %]</start_tag>
- <end_tag>[% topic.end_tag %]</end_tag>
- <bug_ids>[% topic.bug_ids %]</bug_ids>
+ <repository>[% topic.repository.split( ';' ).0 | html_entity %]</repository>
+ <module>[% topic.module | html_entity %]</module>
+ <start_tag>[% topic.start_tag | html_entity %]</start_tag>
+ <end_tag>[% topic.end_tag | html_entity %]</end_tag>
+ <bug_ids>[% topic.bug_ids | html_entity %]</bug_ids>
<version>[% topic.version %]</version>
- <creation_ts>[% topic.creation_ts %]</creation_ts>
+ <creation_ts>[% topic.creation_ts | html_entity %]</creation_ts>
</topic>
[% END %]
</topics>
Index: CHANGELOG
===================================================================
RCS file: /cvsroot/codestriker/codestriker/CHANGELOG,v
retrieving revision 1.249
retrieving revision 1.250
diff -u -r1.249 -r1.250
--- CHANGELOG 2 Aug 2008 04:49:07 -0000 1.249
+++ CHANGELOG 3 Aug 2008 02:08:58 -0000 1.250
@@ -16,7 +16,10 @@
* Creation of Subversion topics which use a file for the module field
in the create topic screen may not work correctly for some versions
of Subversion. This has now been fixed by
- rob...@us....
+ rob...@us....
+
+* Make sure XML representation of a topic has its data properly escaped.
+ Fixed by rob...@us....
* Ability to parse git patches correctly.
|