View Issue Details

IDProjectCategoryView StatusLast Update
0006549OXID eShop (all versions)1. ----- eShop frontend -----public2016-11-25 11:55
Reporter[email protected] Assigned To 
PrioritynormalSeverityminorReproducibilitysometimes
Status closedResolutionfixed 
Product Version4.10.2 / 5.3.2 
Summary0006549: Captcha generates sometimes wrong image while e_mac contains special characters
DescriptionOn 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.
TagsNo tags attached.
Theme
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Relationships

duplicate of 0006550 acknowledgedflorian.auer Captcha generates sometimes wrong image while e_mac contains special characters 

Activities

[email protected]

2016-11-25 11:45

reporter   ~0011875

Duplicate of 0006550 - please close/delete this.

QA

2016-11-25 11:54

administrator   ~0011877

Duplicate of 6550