Skip to content

Commit

Permalink
Set the default_charset
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouzierinverse committed Sep 17, 2019
1 parent ee24444 commit 3bddd98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/pf/UnifiedApi.pm
Expand Up @@ -122,6 +122,7 @@ sub before_dispatch_cb {
# To allow dispatching with encoded slashes
my $req = $c->req;
my $headers = $req->headers;
$req->default_charset('UTF-8');
$c->stash(
{
path => $req->url->path,
Expand Down

0 comments on commit 3bddd98

Please sign in to comment.