[asterisk-bugs] [JIRA] (ASTERISK-25669) CURL incorrect trim for non ASCII characters

Jesper (JIRA) noreply at issues.asterisk.org
Fri Jan 8 02:34:33 CST 2016


Jesper created ASTERISK-25669:
---------------------------------

             Summary: CURL incorrect trim for non ASCII characters
                 Key: ASTERISK-25669
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25669
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Functions/func_curl, Functions/func_strings
    Affects Versions: 11.20.0
         Environment: CentOs 6.7
            Reporter: Jesper


CURL removes all non ASCII characters if string ends with non ASCII characters
content of test.txt:
abcæøå
snip of test dialplan in extensions.ael:
Set(HTTPANSWER=${CURL(http://localhost/test.txt)});

verbose log:
-- Executing [] Set("Local/999", "HTTPANSWER=abc")

after patch
verbose log:
-- Executing [] Set("Local/999", "HTTPANSWER=abcæøå")






--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list