Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply auto-filtering to individual directives instead of an entire tag
Tags may contain multiple directives separated by ';', such as: [% IF foo; bar; ELSE; baz; END %] Previously 'bar' and 'baz' were not auto-filtered by this module because the directives IF and END appeared in the tag. This made is easy for variables to slip through unfiltered in compound tags. The auto-filter now translates the above examples into: [% IF foo; bar | html; ELSE; baz | html; END %] Resolves [rt.cpan.org #90643].
- Loading branch information
1 parent
de6d644
commit 37aa275
Showing
3 changed files
with
45 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters