Edgewall Software

Changes between Initial Version and Version 4 of Ticket #3129


Ignore:
Timestamp:
Jul 18, 2010, 3:39:02 PM (14 years ago)
Author:
Remy Blank
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3129

    • Property Component generalreport system
    • Property Priority normallow
    • Property Milestone0.13
    • Property Owner changed from Jonas Borgström to Remy Blank
    • Property Severity normalminor
  • Ticket #3129 – Description

    initial v4  
    11in report.py, in the function sql_sub_vars before substituting variables, the whole string should be format-string escaped
    2  * '\' should be replaced with '\\'
    3  * '%' should be replaced with '%%'
     2 * `'\'` should be replaced with `'\\'`
     3 * `'%'` should be replaced with `'%%'`
    44
    5 this will make it possible to write things like: field LIKE '%$PARAM%'
     5this will make it possible to write things like: `field LIKE '%$PARAM%'`
    66in reports.
    77