← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1784: Added html encoding of application title

 

------------------------------------------------------------
revno: 1784
committer: Lars <larshelg@larshelg-laptop>
branch nick: trunk
timestamp: Wed 2010-04-14 17:10:48 +0200
message:
  Added html encoding of application title
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.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/main.vm'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm	2010-03-11 10:41:22 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm	2010-04-14 15:10:48 +0000
@@ -86,7 +86,7 @@
 
       <span id="headerText">
         #if ( $applicationTitle )
-          $applicationTitle
+          $encoder.htmlEncode( $applicationTitle )
         #else
           District Health Information Software 2
         #end