]> git.ipfire.org Git - thirdparty/asterisk.git/commit
func_curl: Don't trim response text on non-ASCII characters 93/2893/1
authorIvan Poddubny <ivan.poddubny@gmail.com>
Sat, 21 May 2016 10:42:45 +0000 (13:42 +0300)
committerIvan Poddubny <ivan.poddubny@gmail.com>
Sat, 21 May 2016 13:54:18 +0000 (08:54 -0500)
commit7e44c8071583117605c6f207cb78b2c93424e829
treec840d4e83bd218558c4ac619d71140df1ae00e96
parent73bbe8afc0c94d8450e96c62a22c5c00370d1f64
func_curl: Don't trim response text on non-ASCII characters

The characters 0x80-0xFF were trimmed as well as 0x00-0x20 because of
a signed comparison.

ASTERISK-25669 #close
Reported by: Jesper
patches:
  strings.curl.trim.patch submitted by Jesper (License 5518)

Change-Id: Ia51e169f24e3252a7ebbaab3728630138ec6f60a
include/asterisk/strings.h