]> git.ipfire.org Git - thirdparty/asterisk.git/commit
func_curl: Don't trim response text on non-ASCII characters 91/2891/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:45:38 +0000 (16:45 +0300)
commit31897d2d99c82f3bfe254f7b4456acef24a53cad
tree688b6706df0e5e59df7e04c8659b278f282815c8
parent1c02b19b79019c7438e162d4db83a5fbf6c46554
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