Commit 482a6fb5 authored by Xavier Guimard's avatar Xavier Guimard

Revert r6542 (#1118)

parent ac554c30
package Lemonldap::NG::Common::PSGI::Request;
use strict;
use 5.14.0;
use Mouse;
use JSON;
use Plack::Request;
......@@ -93,7 +94,7 @@ sub jsonBodyToObj {
$self->error('No data');
return undef;
}
my $j = eval { from_json( $self->content, { utf8 => 1 } ) };
my $j = eval { from_json( $self->content ) };
if ($@) {
$self->error("$@$!");
return undef;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment