[htmltmpl] ANNOUNCE: Krang 2.000

2005-10-14 Thread Aaron Dancygier
We're pleased to announce that Krang v2.000 is now available. This is a full fledged major release. Although largely the same as v1.999. 2.000 is more mature with numerous bug fixes and enhancements. Also not to be ignored is the availability of time saving binary distributions for Fedora core 3

Re: [htmltmpl] "Bad file descriptor" while parameter substituting

2005-10-14 Thread Karen
On 10/14/05, Sam Tregar <[EMAIL PROTECTED]> wrote: > Nope, and I hope the documentation didn't promise any. I'm firmly in > favor of exclusively using exceptions for errors, rather than C-style > boolean returns. Didn't say one way or t'other, hence my question. It might be worth putting that in

Re: [htmltmpl] "Bad file descriptor" while parameter substituting

2005-10-14 Thread Sam Tregar
On Fri, 14 Oct 2005, Karen wrote: > Problem solved. Sam, any particular pattern to param's return value > when setting it? Nope, and I hope the documentation didn't promise any. I'm firmly in favor of exclusively using exceptions for errors, rather than C-style boolean returns. -sam

Re: [htmltmpl] "Bad file descriptor" while parameter substituting

2005-10-14 Thread Karen
On 10/14/05, Petrov Dmithriy <[EMAIL PROTECTED]> wrote: > Damn! Big thanks!!! :) I just noticed I've been hitting "reply" instead of "reply to all" (I vastly prefer lists that have reply-to set to the list, and yes, I'm aware of the arguments against it), so I'll executive-summarize for the list a

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

2005-10-14 Thread Sam Tregar
On Fri, 14 Oct 2005, Mark Stosberg wrote: > I'm curious about what other people think about an option to > turn ESCAPE=HTML on default, to protect against cross script scripting > practices by default. Sure, sounds reasonable to me. -sam ---

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

2005-10-14 Thread Paul Baker
On Oct 14, 2005, at 9:37 AM, Mark Stosberg wrote: I'm curious about what other people think about an option to turn ESCAPE=HTML on default, to protect against cross script scripting practices by default. OMG YES!! 95% of all my vars have ESCAPE=HTML on them. Making this the default would tak

Re: [htmltmpl] "Bad file descriptor" while parameter substituting

2005-10-14 Thread Petrov Dmithriy
On Friday 14 October 2005 20:39, Roger Burton West wrote: > On Fri, Oct 14, 2005 at 08:26:05PM +0400, Petrov Dmithriy wrote: > >Bad file descriptor :( > > Switch it to lower-case news? Templates aren't case-sensitive, by > default at least. > I have upper-case letters both in template and script...

Re: [htmltmpl] "Bad file descriptor" while parameter substituting

2005-10-14 Thread Roger Burton West
On Fri, Oct 14, 2005 at 08:26:05PM +0400, Petrov Dmithriy wrote: >Bad file descriptor :( Switch it to lower-case news? Templates aren't case-sensitive, by default at least. --- This SF.Net email is sponsored by: Power Architecture Resource Cen

Re: [htmltmpl] "Bad file descriptor" while parameter substituting

2005-10-14 Thread Petrov Dmithriy
On Friday 14 October 2005 20:08, Roger Burton West wrote: > You're passing a hashref to param(). Try: > > $tmpl->param('NEWS' => [{'created' => '2005-10-15', 'text' => > 'sdadsdsdsdw1re32fqr'}]); > > Roger > Bad file descriptor :( --- This SF.

Re: [htmltmpl] "Bad file descriptor" while parameter substituting

2005-10-14 Thread Roger Burton West
On Fri, Oct 14, 2005 at 07:58:44PM +0400, Petrov Dmithriy wrote: >Hi, all! >I gets subj error while substitute parameters for simple template. >$tmpl->param({'NEWS' => [{'created' => '2005-10-15', 'text' => >'sdadsdsdsdw1re32fqr'}]}); You're passing a hashref to param(). Try: $tmpl->param('NEWS

[htmltmpl] "Bad file descriptor" while parameter substituting

2005-10-14 Thread Petrov Dmithriy
Hi, all! I gets subj error while substitute parameters for simple template. $tmpl->param({'NEWS' => [{'created' => '2005-10-15', 'text' => 'sdadsdsdsdw1re32fqr'}]}); Template is: Can anybody help me? --- This

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

2005-10-14 Thread Mark Stosberg
On 2005-10-14, Roger Burton West <[EMAIL PROTECTED]> wrote: > On Fri, Oct 14, 2005 at 06:49:40PM +0400, Alex Kapranoff wrote: >>* Mark Stosberg <[EMAIL PROTECTED]> [October 14 2005, 18:37]: >>> I'm curious about what other people think about an option to >>> turn ESCAPE=HTML on default, to protect

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

2005-10-14 Thread Roger Burton West
On Fri, Oct 14, 2005 at 06:49:40PM +0400, Alex Kapranoff wrote: >* Mark Stosberg <[EMAIL PROTECTED]> [October 14 2005, 18:37]: >> I'm curious about what other people think about an option to >> turn ESCAPE=HTML on default, to protect against cross script scripting >> practices by default. >All for

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

2005-10-14 Thread Alex Kapranoff
* Mark Stosberg <[EMAIL PROTECTED]> [October 14 2005, 18:37]: > I'm curious about what other people think about an option to > turn ESCAPE=HTML on default, to protect against cross script scripting > practices by default. > > This seems especially valuable when the convenient "associate => $q" >

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

2005-10-14 Thread Mark Stosberg
Hello, I'm curious about what other people think about an option to turn ESCAPE=HTML on default, to protect against cross script scripting practices by default. This seems especially valuable when the convenient "associate => $q" option is used. Then programmers would be forcing themselves to