1
0
mirror of https://gitlab.com/depesz/explain.depesz.com.git synced 2025-07-13 01:30:14 +02:00

Remove unnecessary second-level encoding

This caused problems when dealing with non-ascii characters, as it was
already converted to utf by Mojo, and then again, by explain.depesz.com
itself.
This commit is contained in:
Hubert depesz Lubaczewski
2017-02-08 15:39:08 +01:00
parent 72447070f5
commit e289a74ccb

View File

@ -165,7 +165,7 @@ sub index {
my $self = shift;
# plan
my $plan = encode( 'UTF-8', $self->req->param( 'plan' ) );
my $plan = $self->req->param( 'plan' );
# nothing to do...
return $self->render unless $plan;