X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Ffilter%2Fcrypto%2Fclass_CaptchaEncryptFilter.php;h=377aab8e603a1b60365b6f9478a56481a1db8c1d;hp=4326a052b3211829d4be1baf3e36a790ba21cc17;hb=91de23a7cb7b4c51500d8ce1df76b8af8843cb0b;hpb=7ffdc10bef06624ca2c6cf58e1109f880bbbf13e diff --git a/framework/main/classes/filter/crypto/class_CaptchaEncryptFilter.php b/framework/main/classes/filter/crypto/class_CaptchaEncryptFilter.php index 4326a052..377aab8e 100644 --- a/framework/main/classes/filter/crypto/class_CaptchaEncryptFilter.php +++ b/framework/main/classes/filter/crypto/class_CaptchaEncryptFilter.php @@ -76,7 +76,7 @@ class CaptchaEncryptFilter extends BaseFilter implements Filterable { // Throw exception throw new EncryptMissingException($this, CryptoHelper::EXCEPTION_ENCRYPT_MISSING); - } // END - if + } // Decode it fully $encryptDecoded = base64_decode(str_replace(' ', '+', urldecode($encryptRequest))); @@ -91,7 +91,7 @@ class CaptchaEncryptFilter extends BaseFilter implements Filterable { // Throw exception throw new EncryptInvalidLengthException($this, CryptoHelper::EXCEPTION_ENCRYPT_INVALID); - } // END - if + } // Write it to the request $requestInstance->setRequestElement('decrypted', $decryptedString);