$OpenBSD: patch-UI_Templates_Appointments_SOGoAptMailInvitation_wox,v 1.1 2013/07/20 17:39:18 sebastia Exp $

fix XSS reported in bugs:          
http://www.sogo.nu/bugs/view.php?id=2368
http://www.sogo.nu/bugs/view.php?id=2369

--- UI/Templates/Appointments/SOGoAptMailInvitation.wox.orig	Thu Jun 27 17:50:25 2013
+++ UI/Templates/Appointments/SOGoAptMailInvitation.wox	Fri Jul 19 11:17:47 2013
@@ -24,9 +24,9 @@ h1, dd, .dl-list dt { margin-left: 130px; }
       <small><var:string value="organizerName" const:escapeHTML="NO"/><var:string value="sentByText" const:escapeHTML="NO"/></small></h1>
 
       <dl class="dl-horizontal">
-        <var:if condition="apt.location.length"
+        <var:if condition="location.length"
         ><dt><var:string label:value="location_label" const:escapeHTML="NO"/></dt>
-        <dd><var:string value="apt.location" const:escapeHTML="NO"/></dd></var:if>
+        <dd><var:string value="location" const:escapeHTML="NO"/></dd></var:if>
         <dt><var:string label:value="startDate_label" const:escapeHTML="NO"/></dt>
         <dd><var:string value="formattedAptStartDate" const:escapeHTML="NO"
            /><var:if condition="formattedAptStartTime.length"> - <var:string value="formattedAptStartTime" const:escapeHTML="NO"/> <var:string value="viewTZ" const:escapeHTML="NO"/>
