Skip to content

Commit

Permalink
Trigger on execute() instead.
Browse files Browse the repository at this point in the history
This seems to be the right time to go scrubbing, without the scrubbed
data getting accidentally clobbered, and/or happening too late.
  • Loading branch information
bigpresh committed Sep 18, 2023
1 parent 069310c commit dfd74f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Catalyst/Plugin/HTML/Scrubber.pm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ sub setup {
return $c->maybe::next::method(@_);
}

sub dispatch {
sub execute {
my $c = shift;

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

0 comments on commit dfd74f9

Please sign in to comment.