Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 9 matches
Smarty Forum Index
Author Message
  Topic: variableFilter and bbcode parsing
stayclose

Replies: 16
Views: 34078

PostForum: Smarty 3   Posted: Tue Mar 22, 2011 8:44 am   Subject: variableFilter and bbcode parsing
I was having the exact same thing, I applied 3.0.7 but I only noticed it when I went on recompiling some templates.

I'm happy it is fixed in SVN Smile

Thanks Uwe
  Topic: Problem with compileAllTemplates
stayclose

Replies: 3
Views: 6052

PostForum: Smarty 3   Posted: Fri Sep 17, 2010 1:23 pm   Subject: Problem with compileAllTemplates
Hi Uwe,

Regarding the first problem: it is pretty annoying the way it works now but I understand why it is the way it is. Perhaps I did not get the right idea of template inheriting and thus made a ...
  Topic: Problem with compileAllTemplates
stayclose

Replies: 3
Views: 6052

PostForum: Smarty 3   Posted: Thu Sep 16, 2010 4:32 pm   Subject: Problem with compileAllTemplates
Hello,

First problem

some_template.htm:

{extends file="main_template.htm"}
{block name="content"}
bla bla bla bla
{/block}

Changes in main_template.htm are NOT detec ...
  Topic: variableFilter and bbcode parsing
stayclose

Replies: 16
Views: 34078

PostForum: Smarty 3   Posted: Fri Jul 23, 2010 3:44 pm   Subject: variableFilter and bbcode parsing
Hello Uwe,

After some initial testing everything seems to be working as I expected. I have applied the latest SVN code and thus removed my initial workaround. I think this is the most elegant way t ...
  Topic: variableFilter and bbcode parsing
stayclose

Replies: 16
Views: 34078

PostForum: Smarty 3   Posted: Thu Jul 22, 2010 11:16 am   Subject: variableFilter and bbcode parsing
After some testing I noticed a case where I would need a whole array not to be ran through a filter.

Ofcourse I could have added a modifier for each variable (there are a lot) but instead I tempora ...
  Topic: variableFilter and bbcode parsing
stayclose

Replies: 16
Views: 34078

PostForum: Smarty 3   Posted: Thu Jul 22, 2010 9:36 am   Subject: variableFilter and bbcode parsing
Well, I agree with you on point 2. The filter should only be used on variables that are actually displayed.

Until the changes are visible in SVN I have implemented a simple method in class Smarty_V ...
  Topic: 2.x/3: outputfilter.trimwhitespace mbstring.func_overload
stayclose

Replies: 1
Views: 6284

PostForum: Bugs   Posted: Wed Jul 21, 2010 2:27 pm   Subject: Re: 2.x/3: outputfilter.trimwhitespace mbstring.func_overloa
This bug is still there, even in Smarty3 RC3.

In some cases the @@@SMARTY:TRIM:SCRIPT@@@ doesn't get completly replaced by $replaceThe problem here is that there's no multibyte-aware version of sub ...
  Topic: variableFilter and bbcode parsing
stayclose

Replies: 16
Views: 34078

PostForum: Smarty 3   Posted: Wed Jul 21, 2010 1:23 pm   Subject: variableFilter and bbcode parsing
Hello Monte,

I am switching one of our sites over to Smarty3 RC3 and as such I've ran into some small problems. I am using the variable filter htmlspecialchars which works great except when you wan ...
  Topic: variableFilter and preventing HTML injection
stayclose

Replies: 7
Views: 21144

PostForum: Smarty 3   Posted: Tue Feb 16, 2010 3:37 pm   Subject: variableFilter and preventing HTML injection
Hello,

I sent Monte a question about preventing HTML injection with Smarty and he told me to post it on the forum so others could benefit from it.

I think in most cases HTML injection is overloo ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP