How do we handle special characters, for example in passwords? - Knowledgebase / Tech / Miscellaneous tech - Support Portal | Registry Services

How do we handle special characters, for example in passwords?

Updated 12 Apr, 2020

Kindly make sure that your system can handle a password that contains special characters. 

XML escape characters
The following characters have a special meaning for XML:  & (ampersand), (less than), > (greater than), “ (double quote) and (single quote), and they must be escaped when used as data. This can be done by entity notation or CDATA element.

  • Invalid: <pw>abcABC<>123</pw>
  • Valid: <pw>abcABC&lt;&gt;123</pw>
  • Valid: <pw><![CDATA[abcABC<>123]]></pw>