diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-03-28 16:37:03 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-03-28 16:37:03 +0000 |
commit | 0efb19876b0fe85aabdbb1634c8d5001e2cd2c65 (patch) | |
tree | 0ada0d6c761cbc6ac4483848e9259858bdf5ce89 /libs/json | |
parent | de5da20be1ed099c8d3ea77f26ac5ae65e94d4e9 (diff) |
libs/sgi-uhttpd: do not assume env.CONTENT_LENGTH to be a number
env.CONTENT_LENGTH as passed by uhttpd might be a string, so explicitely
convert it using tonumber().
Issue has been reported by Catalin Patulea <cat@vv.carleton.ca>
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'libs/json')
0 files changed, 0 insertions, 0 deletions