Re: [htmltmpl] Sanitizing data against HTML::Template tags

2008-04-08 Thread Mike MacKenzie
If you want to be sure not break a template this might be embedded into you'll need to take care of the tags in the untrusted input as well. --Mike MacKenzie --- Justin Simoni <[EMAIL PROTECTED]> wrote: > Here's one for everyone: > > I'm receiving data from $U

Re: [htmltmpl] option to turn ESCAPE=HTML on by default

2005-10-18 Thread Mike
Yes, I realise this now. My apologies for confusing the matter. Mike. - Original Message - From: "Philip Tellis" <[EMAIL PROTECTED]> To: "HTML::Template List" Sent: Tuesday, October 18, 2005 9:27 PM Subject: Re: [htmltmpl] option to turn ESCAPE=HTML on by

Re: [htmltmpl] option to turn ESCAPE=HTML on by default

2005-10-18 Thread Mike
or the template file? Exactly what they are called I don't mind, but since there are 2 escaping options in H::T, using 'default_escape' could be ambiguous. Alex's patch seems to work well for the html escaping. Perhaps include a default url

Re: [htmltmpl] option to turn ESCAPE=HTML on by default

2005-10-16 Thread Mike
grammer wanted the existing default (no escaping) then leave that parameter out during object creation. And still have the current ability to turn escaping on (ESCAPE=HTML or ESCAPE=1) or off (ESCAPE=0) within the template file. Mike. - Original Message - From: "Mathew Robertson&

Re: [htmltmpl] ModPerl and HTML::Template?

2005-05-05 Thread Mike Cardwell
joseph canton wrote: > Has anyone used HTML::Template with modperl or Apache::ASP? I was one of the main developers of http://www.fotoserve.com/ which uses a combination of mod_perl 1 and HTML::Template. The combination works like a dream. M

[htmltmpl] Formatting calendars...

2002-09-08 Thread Mike Carlton
blank days before the 1st and after the last day varies, etc. Comments? Thanks, --Mike Carlton --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge

[htmltmpl] login mode (MVC question sort of)

2002-09-03 Thread Mike Carlton
t would be the cleanest way (in the MVC sense) to do this with H::T? I can have something like: Logged in as Logout But this feels like putting the control out in the viewer to me. Is there a better way? Thanks, --Mi