Skip to content

Commit

Permalink
fixed MAC calculation problem: JSON_UNESCAPED_SLASHES
Browse files Browse the repository at this point in the history
  • Loading branch information
priitpiile authored Jan 27, 2017
1 parent 07f960d commit 1e1c9f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Maksekeskus.php
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ protected function getMacInput ($data, $mac_type)
}, $mac_input);
}
else {
$mac_input = json_encode($data, JSON_UNESCAPED_UNICODE);
$mac_input = json_encode($data, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
}

} else {
Expand Down

0 comments on commit 1e1c9f2

Please sign in to comment.