CMS MADE SIMPLE FORGE

CGBetterForms

 

[#11855] Store results in unique file - filename template converts quotation marks to entities

avatar
Created By: Matt Hornsby (DIGI3) (DIGI3)
Date Submitted: Fri Jul 06 12:21:17 -0400 2018

Assigned To: Robert Campbell (calguy1000)
Version: 1.5
CMSMS Version: 2.2.7
Severity: None
Resolution: Fixed
State: Open
Summary:
Store results in unique file - filename template converts quotation marks to entities
Detailed Description:
In the Store results in a unique file Handler, the File name template field
doesn't allow for single or double quotes, it replaces them with html entities.

This is an issue if, for example, you want to use a regex on the file name,
e.g.:
{$filename|regex_replace:'/[^a-z0-9_ ]/'}

when saved and re-opened, will show:
{$filename|regex_replace:'/[^a-z0-9_ ]/'}

which gives a syntax error in the template (unexpected "&") when the handler
fires.


History

Comments
avatar
Date: 2018-09-22 17:30
Posted By: Robert Campbell (calguy1000)

seems to be fixed in 1.7 when it is released
      
avatar
Date: 2019-03-17 11:51
Posted By: Matt Hornsby (DIGI3) (DIGI3)

This bug seems to have resurfaced in version 1.9.2.
      
Updates

Updated: 2018-09-22 17:30
resolution_id: => 7