|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
schtorch Smarty n00b
Joined: 10 Jun 2010 Posts: 2
|
Posted: Thu Jun 10, 2010 10:27 am Post subject: $smarty->fetch in Smarty3 has template size limit |
|
|
Hi,
we are migrating currently hundreds of existing templates from Smarty2 to Smarty3, mainly to be able to use the automatic output filter function to eliminate XSS. So far we are very pleased with the results of Smarty3 and thank you for the great work!
We have encountered an issue. Templates that exceed an amount of Kilobytes are truncated when inserting them via $smarty->fetch('test.tpl'); . This was working in Smarty2.
Could you please look into this?
Regards,
Jens |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Fri Jun 11, 2010 1:09 pm Post subject: |
|
|
The Lexer did fail on larger {literal} ... {/literal} sections.
The fix is in the SVN now.
Jens, thank you for the provided test case. |
|
Back to top |
|
schtorch Smarty n00b
Joined: 10 Jun 2010 Posts: 2
|
Posted: Fri Jun 11, 2010 1:58 pm Post subject: |
|
|
Thx a lot for the fast fix |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|