View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0005064 | OXID eShop (all versions) | 4.02. Session handling | public | 2013-04-12 11:56 | 2023-11-17 17:32 | 
| Reporter | nerd | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | closed | Resolution | won't fix | ||
| Product Version | 4.7.4 / 5.0.4 revision 57063 | ||||
| Summary | 0005064: Captcha code does not work with uppercase | ||||
| Description | If a customer is to enter a captcha with a uppercase letter he gets the message that his Captcha entry is incorrect. | ||||
| Steps To Reproduce | F5, F5, F5, F5, F5, F5, Captcha with uppercase -> enter Captcha -> -.- oh wrong input -> ??? | ||||
| Additional Information | The $sMacHash and $sHash params are not in the aCaptchaHash variable from the Session. See Funktion _passFromSession of oxcaptcha | ||||
| Tags | Captcha | ||||
| Theme | Not defined | ||||
| Browser | All | ||||
| PHP Version | Not defined | ||||
| Database Version | Not defined | ||||
|  | Problem is not the uppercase letter in the image. it seems to be that encoding and decoding (strMan & strRem) does not work correctly (or maybe configkey which is loaded and used for this operation). What correct is: the decoding in the ver-image shows up uppercase letters if this problem occurs | 
|  | The bug is located in the function "getImageUr"l in "oxcapture". Here we have $sUrl = $this->getConfig()->getCoreUtilsURL() . "verificationimg.php?e_mac="; $sUrl .= oxRegistry::getUtils()->strMan( $this->getText() ); where oxRegistry::getUtils()->strMan( $this->getText() ) may contain the "+" character, which the image resolves as blank, because it is not url-encoded. So the fix is: $sUrl = $this->getConfig()->getCoreUtilsURL() . "verificationimg.php?e_mac="; $sUrl .= urlencode(oxRegistry::getUtils()->strMan( $this->getText() )); which should be adopted to the original sources. | 
|  | Captchas are currently not part of the shop. Any issues should go to https://github.com/OXIDprojects/captcha-module | 
