Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5c53981

Browse files
committed
Do not escape unicode or escape forward slashes - fixes inex#216
1 parent 8d5b472 commit 5c53981

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

application/modules/apiv1/controllers/MemberListController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function listAction()
5555

5656
$jsonoutput['member_list'] = $this->getListMemberInfo();
5757

58-
print json_encode($jsonoutput, JSON_PRETTY_PRINT)."\n";
58+
print json_encode($jsonoutput, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE)."\n";
5959
}
6060

6161
private function preflight() {

0 commit comments

Comments
 (0)