View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006548 | OXID eShop (all versions) | 1. ----- eShop frontend ----- | public | 2016-11-25 11:40 | 2016-11-29 15:51 |
| Reporter | [email protected] | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | sometimes |
| Status | closed | Resolution | duplicate | ||
| Product Version | 4.10.2 / 5.3.2 | ||||
| Summary | 0006548: Captcha generates sometimes wrong image while e_mac contains special characters | ||||
| Description | On some installations the captcha image is generated with 4 chars instead of 5. Thus resulting in wrong form validation. I tracked down that the generated e_mac GET parameter which is generated by oxRegistry::getUtils()->strMan() may contain special chars. For example the generated image url could look like this: https://my-shop.com/core/utils/verificationimg.php?e_mac=ox_MB44HRFZNh4+ The plus sign at the end of this string will interpreted as " " (space sign) while its received by the verificationimg.php. This results in a wrong code generation. An easy fix seems to urlencode the e_mac part. See attached patch file. | ||||
| Tags | No tags attached. | ||||
| Theme | |||||
| Browser | Not defined | ||||
| PHP Version | Not defined | ||||
| Database Version | Not defined | ||||
| duplicate of | 0006550 | acknowledged | florian.auer | Captcha generates sometimes wrong image while e_mac contains special characters |