[Vtigercrm-commits] [Vtiger development] #8528: [PATCH] Module Report - date_filters not safe

Vtiger development vtiger-tickets at trac.vtiger.com
Tue Apr 7 15:52:23 GMT 2015


#8528: [PATCH] Module Report - date_filters not safe
-----------------------------+---------------------------------
 Reporter:  adrien.futschik  |      Owner:  developer
     Type:  patch            |     Status:  new
 Priority:  major            |  Milestone:  Unassigned
Component:  vtigercrm        |    Version:  6.0.0
 Severity:  Medium           |   Keywords:  report date_filters
-----------------------------+---------------------------------
 In the ReportHeader template of the Report Module, the date_filters are
 not safe. This causes issues when using special characters (ex: french
 translation).

 Patch (attached)
 In the following file :
 apache\htdocs\vtigerCRM\layouts\vlayout\modules\Reports\ReportHeader.tpl

 Replace
 <input type="hidden" name="date_filters" data-
 value='{ZEND_JSON::encode($DATE_FILTERS)}' />
 By
 <input type="hidden" name="date_filters" data-
 value='{Vtiger_Util_Helper::toSafeHTML(ZEND_JSON::encode($DATE_FILTERS))}'
 />

 This issue seams to be solved in release 6.1.0.

 Regards,

 AF

--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8528>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM


More information about the vtigercrm-commits mailing list