Skip to content

Fixed escaping body of inboundxml Elements. - #8

Merged
0x19 merged 1 commit into
TelAPI:masterfrom
YAmikep:master
Jun 18, 2014
Merged

Fixed escaping body of inboundxml Elements.#8
0x19 merged 1 commit into
TelAPI:masterfrom
YAmikep:master

Conversation

@YAmikep

@YAmikep YAmikep commented Jun 18, 2014

Copy link
Copy Markdown
Contributor

Here is the bug following the change of escaping the body_string.
The body_string variable contains the XML of all the childs which leads to this problem:

print inboundxml.Response(inboundxml.Say('ok'))
<Response>&lt;Say&gt;ok&lt;/Say&gt;</Response>

The body of each element should be escaped separately.
Please see my change.

0x19 added a commit that referenced this pull request Jun 18, 2014
Fixed escaping body of inboundxml Elements.
@0x19
0x19 merged commit cb1d9a7 into TelAPI:master Jun 18, 2014
@YAmikep

YAmikep commented Jun 18, 2014

Copy link
Copy Markdown
Contributor Author

Could you push it on pypi? thanks.

@0x19

0x19 commented Jun 18, 2014

Copy link
Copy Markdown
Contributor

Done :)

@telapi-vagrant

Copy link
Copy Markdown

Thank you for the contribution, Michael.

On Wed, Jun 18, 2014 at 9:36 AM, Nevio notifications@github.com wrote:

Done :)


Reply to this email directly or view it on GitHub
#8 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants