Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: How to test all TT2 tags are escaped.by moritz (Cardinal) |
on Oct 28, 2013 at 13:05 UTC ( [id://1059978]=note: print w/replies, xml ) | Need Help?? |
IMHO the proper solution isn't (or at least not only) rigorous testing, but escaping by default. I've asked about that in the past, Re: HTML::Template vs. Template::Toolkit vs. ?? (esp. the reference to Template::Stash::HTML::Entities and default_escape for Template::Toolkit? might be relevant. If none of those solutions work well, I'd consider it sufficient reason not to use TT2, and switch to a template system that supports default escaping.
In Section
Seekers of Perl Wisdom
|
|