Skip to content

Commit 222e5d5

Browse files
committed
Trigger on execute() instead.
This seems to be the right time to go scrubbing, without the scrubbed data getting accidentally clobbered, and/or happening too late.
1 parent 2b6ea03 commit 222e5d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/Catalyst/Plugin/HTML/Scrubber.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ sub setup {
2626
return $c->maybe::next::method(@_);
2727
}
2828

29-
sub dispatch {
29+
sub execute {
3030
my $c = shift;
3131

3232
$c->maybe::next::method(@_);

0 commit comments

Comments
 (0)