Skip Menu |

This queue is for tickets about the HTML-Mason CPAN distribution.

Report information
The Basics
Id: 67972
Status: resolved
Priority: 0/
Queue: HTML-Mason

People
Owner: Nobody in particular
Requestors: rt.cpan [...] sartak.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: apply_escapes doesn't complain if you pass in no flags
sub apply_escapes { my $self = shift; my $text = shift; foreach my $flag (@_) { param_error "Invalid escape flag: $flag" unless exists $self->{escapes}{$flag}; $self->{escapes}{$flag}->(\$text); } return $text; } It'd be nice if Mason generated a warning or error if @_ == 0, because there seems to be a strong expectation that you don't need any flag to get HTML escaping or something. Shawn