diff --git a/Protocols/EPP/eppData/eppDomain.php b/Protocols/EPP/eppData/eppDomain.php index eb2a778c..7fba233e 100644 --- a/Protocols/EPP/eppData/eppDomain.php +++ b/Protocols/EPP/eppData/eppDomain.php @@ -331,12 +331,7 @@ public function getSecdns($row = null) { * @return void */ public function setAuthorisationCode($authorisationCode) { - if ($authorisationCode) { - $this->authorisationCode = htmlspecialchars($authorisationCode, ENT_COMPAT, "UTF-8"); - } else { - $this->authorisationCode = $authorisationCode; - } - + $this->authorisationCode = $authorisationCode; } /** @@ -353,7 +348,7 @@ public function getAuthorisationCode() { * @return void */ public function setPassword($password) { - $this->authorisationCode = htmlspecialchars($password, ENT_COMPAT, "UTF-8"); + $this->setAuthorisationCode($password); } /**