Re: Issue 69 in google-ctemplate: Optional error/warning if autoescape isn't used

4 views
Skip to first unread message

google-c...@googlecode.com

unread,
Oct 4, 2011, 6:31:19 AM10/4/11
to google-c...@googlegroups.com

Comment #5 on issue 69 by olafvdspek: Optional error/warning if autoescape
isn't used
http://code.google.com/p/google-ctemplate/issues/detail?id=69

Please?

google-c...@googlecode.com

unread,
Oct 4, 2011, 6:33:22 PM10/4/11
to google-c...@googlegroups.com

Comment #6 on issue 69 by csilv...@gmail.com: Optional error/warning if

I'm sorry, I'm not going to add this to ctemplate (of course, you're
welcome to hack it into your own version yourself). This is correctly
done, by the people who care, outside of ctemplate proper.

google-c...@googlecode.com

unread,
Oct 4, 2011, 7:05:16 PM10/4/11
to google-c...@googlegroups.com

Comment #7 on issue 69 by olafvdspek: Optional error/warning if autoescape

Hacking is not an option. :p
How do I verify (without modifying ctemplate), that every template uses
auto escaping?

google-c...@googlecode.com

unread,
Oct 4, 2011, 7:12:29 PM10/4/11
to google-c...@googlegroups.com

Comment #8 on issue 69 by csilv...@gmail.com: Optional error/warning if

Just analyze the template files using the tool of your choice. I don't
know windows, so I don't know what that tool would be, but there must be
something similar to grep (or maybe you could download a version of grep
that runs on windows).

google-c...@googlecode.com

unread,
Oct 5, 2011, 7:02:50 AM10/5/11
to google-c...@googlegroups.com

Comment #9 on issue 69 by olafvdspek: Optional error/warning if autoescape

That'd be hacking again. And bad software engineering.
The solution should be simple and cross-platform.


Reply all
Reply to author
Forward
0 new messages