Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML is not escaped for tag values during deserialization #76

Open
nrempel opened this issue Feb 10, 2022 · 2 comments
Open

XML is not escaped for tag values during deserialization #76

nrempel opened this issue Feb 10, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@nrempel
Copy link
Collaborator

nrempel commented Feb 10, 2022

<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
    <response>
        <result code="1000">
            <msg>Command completed successfully</msg>
        </result>
        <resData>
            <domain:infData xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
                <domain:name>example.com</domain:name>
                <domain:roid>123</domain:roid>
                <domain:status s="ok"/>
                <domain:ns>
                    <domain:hostObj>NS1.EXAMPLE.COM</domain:hostObj>
                    <domain:hostObj>NS2.EXAMPLE.COM</domain:hostObj>
                </domain:ns>
                <domain:clID>123</domain:clID>
                <domain:crID>user</domain:crID>
                <domain:crDate>2022-02-09T22:07:34Z</domain:crDate>
                <domain:upID>insdom1</domain:upID>
                <domain:upDate>2022-02-09T22:07:34Z</domain:upDate>
                <domain:exDate>2023-02-09T22:07:34Z</domain:exDate>
                <domain:authInfo>
                    <domain:pw>47uE&amp;@J!Ra6g</domain:pw>
                </domain:authInfo>
            </domain:infData>
        </resData>
    </response>
</epp>

Note 47uE&amp;@J!Ra6g should be 47uE&@J!Ra6g

@nrempel nrempel added the bug Something isn't working label Feb 10, 2022
@nrempel nrempel changed the title XML is not escape for tag values XML is not escaped for tag values Feb 10, 2022
@djc
Copy link
Collaborator

djc commented Feb 10, 2022

Are we talking the deserialize side only, or do we have similar issues on the serialize side?

@nrempel
Copy link
Collaborator Author

nrempel commented Feb 10, 2022

Ah yes, this just during deserialization

@nrempel nrempel changed the title XML is not escaped for tag values XML is not escaped for tag values during deserialization Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants