[asterisk-bugs] [JIRA] (ASTERISK-27290) PIDF contact field has malformed XML

basildane (JIRA) noreply at issues.asterisk.org
Mon Sep 25 11:56:07 CDT 2017


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

basildane commented on ASTERISK-27290:
--------------------------------------

{code:xml|title=SIP NOTIFY Example}
<presence
    entity="sip:202 at 10.0.10.15:5060"
    xmlns="urn:ietf:params:xml:ns:pidf"
    xmlns:pp="urn:ietf:params:xml:ns:pidf:person"
    xmlns:es="urn:ietf:params:xml:ns:pidf:rpid:status:rpid-status"
    xmlns:ep="urn:ietf:params:xml:ns:pidf:rpid:rpid-person">
    <note>
        Ready
        </note>
    <tuple
        id="202">
        <status>
            <basic>
                open
                </basic>
            </status>
        <contact
            priority="1">
            "255" <sip:255 at voip.aquilatech.com>
            </contact>
        </tuple>
    <pp:person>
        <status/>
        </pp:person>
    </presence>
{code}

> PIDF contact field has malformed XML
> ------------------------------------
>
>                 Key: ASTERISK-27290
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27290
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 14.6.1
>         Environment: FreePBX distro 14.
>            Reporter: basildane
>            Severity: Minor
>
> Starting in Asterisk 14, the notify pidf presense contact field has malformed xml.  The field contains "&quot", "&lt", and "&gt" where the actual characters should be.



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



More information about the asterisk-bugs mailing list