Sfoglia il codice sorgente

id card request : decode altcha payload

olinox14 1 anno fa
parent
commit
604fd970b6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/State/Provider/IdCardRequestProvider.php

+ 1 - 1
src/State/Provider/IdCardRequestProvider.php

@@ -45,7 +45,7 @@ class IdCardRequestProvider implements ProviderInterface
 
         try {
             $valid = Altcha::verifySolution(
-                $altchaPayload,
+                urldecode($altchaPayload),
                 $this->hmacKey,
                 true
             );