]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Adds ast_escape_encoded utility to properly handle escaping of quoted field before...
authorJonathan Rose <jrose@digium.com>
Thu, 9 Jun 2011 14:06:42 +0000 (14:06 +0000)
committerJonathan Rose <jrose@digium.com>
Thu, 9 Jun 2011 14:06:42 +0000 (14:06 +0000)
commit5f46b994f47c8a1d1bc99682810ce7e1dafe306c
tree7d1783313c075ce7c3604f9106cb6701bf99edd2
parente0b2c103f6eafd8a6513de81fb6152698856ee49
Adds ast_escape_encoded utility to properly handle escaping of quoted field before uri.

This commit backports a feature in trunk affecting initreqprep so that display name won't
be encoded improperly. Also includes unit tests for the ast_escape_quoted function.
This patch gives 1.8 a much improved outlook in countries which don't use standard
ASCII characters.

(closes issue ASTERISK-16949)
Reported by: Örn Arnarson
Review: https://reviewboard.asterisk.org/r/1235/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@322585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
include/asterisk/utils.h
main/utils.c
tests/test_utils.c