[Asterisk-code-review] syncami: wrap utf-8 string before parsing (testsuite[16])
Kevin Harwell
asteriskteam at digium.com
Mon Sep 10 12:33:12 CDT 2018
Hello Jenkins2, Corey Farrell,
I'd like you to reexamine a change. Please visit
https://gerrit.asterisk.org/10066
to look at the new patch set (#2).
Change subject: syncami: wrap utf-8 string before parsing
......................................................................
syncami: wrap utf-8 string before parsing
For some reason in some older versions of Python directly passing a utf-8 string
to HeaderParser's parsestr method would not parse the data correctly. However,
wrapping it in a StringIO object first works for all versions.
Change-Id: I24af2df707983accc9298da095c018b1aaf963e3
---
M lib/python/asterisk/syncami.py
1 file changed, 5 insertions(+), 3 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/66/10066/2
--
To view, visit https://gerrit.asterisk.org/10066
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: testsuite
Gerrit-Branch: 16
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I24af2df707983accc9298da095c018b1aaf963e3
Gerrit-Change-Number: 10066
Gerrit-PatchSet: 2
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180910/357eea3c/attachment.html>
More information about the asterisk-code-review
mailing list