diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-03-23 19:38:14 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-03-23 19:38:14 (GMT) |
commit | 6d97994a199e2cf180321c5bc7c3e1282ef477cc (patch) | |
tree | b33f27b660f6f4c6827ecc1c8ea7e4df56cd455c /rh-bin | |
parent | 1b1e7df2067769dfcd7c2e01dd35e3d68b7a0bf1 (diff) |
fixed utf8 output for authtoken
Diffstat (limited to 'rh-bin')
-rwxr-xr-x | rh-bin/authtoken.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rh-bin/authtoken.json b/rh-bin/authtoken.json index 7b2fdba..9e4c332 100755 --- a/rh-bin/authtoken.json +++ b/rh-bin/authtoken.json @@ -59,4 +59,4 @@ $answer{'token'} = $token; print "Content-type: application/json; charset=UTF-8\n"; print "Status: $responsecode\n\n"; -print encode_json \%answer; +print JSON->new->encode(\%answer); |