telize

High performance JSON IP and GeoIP REST API (IP Geolocation)
Log | Files | Refs | README | LICENSE

commit 3d08f43ebbc30a361d3e9bb49f1f3097774e892d
parent 1ee8494b1da265677ed6427f6613f7dd0d444392
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Mon, 23 Nov 2015 23:43:12 +0100

Fixing regression : organization name was not correctly converted to UTF-8

Diffstat:
Mtelize | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/telize b/telize @@ -139,6 +139,11 @@ server { payload.region = cd:iconv(payload.region) end + -- Convert organization name to UTF-8 if it exists + if payload.organization ~= nil then + payload.organization = cd:iconv(payload.organization) + end + local json = cjson.encode(payload) if callback ~= "" then