CMS MADE SIMPLE FORGE

Guestbook

 

[#7249] smarty not work if guestbook's entry changed

avatar
Created By: Vadim (vruzh)
Date Submitted: Fri Nov 25 15:26:17 -0500 2011

Assigned To: Krisztian Kishazi (kishman155)
Version: 1.3.3.2
CMSMS Version: 1.10.2
Severity: Minor
Resolution: Awaiting Response
State: Open
Summary:
smarty not work if guestbook's entry changed
Detailed Description:
If I change guestentry, for example, then answer on guest's message  and paste
{mailto address="me@example.com" encode="hex"} it will shown as clear text but
as a link.


History

Comments
avatar
Date: 2012-08-25 14:33
Posted By: Krisztian Kishazi (kishman155)

need more information not clear what is meant with this
      
avatar
Date: 2012-08-26 05:05
Posted By: Vadim (vruzh)

I have the guestbook as question-answer list 
http://abitur.psuti.ru/questions
Then anybody asks some I go to admin panel and modify anybodies entry.

For example some needs email of dean in question, and I try to write {mailto
address="me@example.com" encode="hex"}, but clear text will shown, not smarties
work.
      
avatar
Date: 2012-08-28 17:47
Posted By: Krisztian Kishazi (kishman155)

smarty code will not be parsed in frontend and backend maybe i could make a
option for you in setings to make smarty parse the
content of the message field and save the parsed version to the database and not
the smarty statement because it will be a possible
security risc.

would it be okay for you?
      
avatar
Date: 2012-08-29 06:35
Posted By: Vadim (vruzh)

Yes it would be okay for me. 
      
Updates

Updated: 2012-08-25 14:33
resolution_id: 5 => 10
assigned_to_id: 100 => 116

Updated: 2011-11-25 15:27
summary: smarty not work if guest entry changed => smarty not work if guestbook's entry changed
resolution_id: => 5