[asterisk-bugs] [JIRA] (ASTERISK-29886) Asterisk AMI sends not-valid XML

Friendly Automation (JIRA) noreply at issues.asterisk.org
Thu Feb 3 07:57:07 CST 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=257956#comment-257956 ] 

Friendly Automation commented on ASTERISK-29886:
------------------------------------------------

Change 17974 merged by Friendly Automation:
manager.c: Generate valid XML if attribute names have leading digits.

[https://gerrit.asterisk.org/c/asterisk/+/17974|https://gerrit.asterisk.org/c/asterisk/+/17974]

> Asterisk AMI sends not-valid XML
> --------------------------------
>
>                 Key: ASTERISK-29886
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29886
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/ManagerInterface
>    Affects Versions: 16.8.0
>         Environment: ubuntu 18.04.01
>            Reporter: Napadailo Yaroslav
>            Assignee: Sean Bright
>              Labels: patch
>         Attachments: 0001-manager.c-Generate-valid-XML-if-attributes-have-lead.patch, debug.log, output.xml
>
>
> When sending a request like:
> {noformat}
> http://localhost:8088/amxml?action=PJSIPShowEndpoint&Endpoint=${ENDPOINT_NAME}
> {noformat}
> server responds with XML containing at attribute named {{100rel}}. {{100rel}} starts with a digit, so XML validating fails with an error.



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



More information about the asterisk-bugs mailing list