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

Syntax error in epp 2005 error response #2338

Closed
vohmar opened this issue Apr 6, 2022 · 0 comments · Fixed by #2357
Closed

Syntax error in epp 2005 error response #2338

vohmar opened this issue Apr 6, 2022 · 0 comments · Fixed by #2357
Assignees
Labels

Comments

@vohmar
Copy link
Contributor

vohmar commented Apr 6, 2022

<result code="2005">
  <msg lang="en">Parameter value syntax error: </msg>
  <value xmlns:contact="https://epp.tld.ee/schema/contact-ee-1.1.xsd">
    <contact:>email didn't pass validation</contact:>
  </value>
</result>

the whole

  <value xmlns:contact="https://epp.tld.ee/schema/contact-ee-1.1.xsd">
    <contact:>email didn't pass validation</contact:>

bit in unnecessary there

the correct format would be

<result code="2005">
  <msg lang="en">Parameter value syntax error: email didn't pass validation</msg>
</result>

and as an added bonus it would be nice to return the problematic email address as well

To investigate: why did not tests nor nokogiri validator catch this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants