← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9680: Fixed bug<1112189> category-combos-not-properly-escaped

 

------------------------------------------------------------
revno: 9680
committer: Hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2013-02-01 15:56:20 +0700
message:
  Fixed bug<1112189> category-combos-not-properly-escaped
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/xmlDataElements.vm


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/xmlDataElements.vm'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/xmlDataElements.vm	2012-01-22 11:28:12 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/xmlDataElements.vm	2013-02-01 08:56:20 +0000
@@ -12,7 +12,7 @@
 		<domainType>$dataElement.getDomainTypeNullSafe()</domainType>
 		<type>$dataElement.type</type>
 		<aggregationOperator>$dataElement.aggregationOperator</aggregationOperator>
-		<categoryCombo>$dataElement.categoryCombo</categoryCombo>
+		<categoryCombo>$!encoder.xmlEncode( $dataElement.categoryCombo )</categoryCombo>
 	</dataElement>
 #end
 </dataElements>
\ No newline at end of file