]> git.ipfire.org Git - thirdparty/asterisk.git/commit
func_curl: Don't trim response text on non-ASCII characters 92/2892/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:53:43 +0000 (08:53 -0500)
commit9ddaab789eb1ac5afc440ab751ad1b2288ce35e0
treefd4e112167c4e818aa813ad1fe5e8b7003d1f941
parentc0b190dd9ab71904b0e0e8492edfdbd6e538e9e1
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