View Issue Details

IDProjectCategoryView StatusLast Update
0005720OXID eShop (all versions)4.11. Image handlingpublic2016-06-08 14:06
Reportersbauer 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.8.4 / 5.1.4 
Target VersionFixed in Version4.10.0 / 5.3.0 
Summary0005720: duble slash in imagepaths if you use sAltImageUrl
DescriptionThere is added a slash by hard code in the method getAltImageUrl() in class oxPictureHandler (line 326)

$sAltUrl .= '/'.$sFilePath.$sFile;

This caused problems.

It should be done like this:

$sAltUrl = oxRegistry::getUtils()->checkUrlEndingSlash($sAltUrl).$sFilePath.$sFile;

So there will be only added a slash if it's required.
TagsNo tags attached.
ThemeAll
BrowserAll
PHP VersionNot defined
Database VersionNot defined

Activities

svetlana

2014-04-03 14:58

reporter   ~0009806

Reminder sent to: sbauer

Thank you very much for your bug report. As we saw, you already submitted a complete solution for this issue. If you feel fancy, you'd also have the possibility to contribute your changes directly to our GitHub repository on https://github.com/OXID-eSales/oxideshop_ce/. Please leave a note there with the bug number you fixed so we can close this issue in the bug tracker."

michael_keiluweit

2016-05-27 15:11

administrator   ~0011608

https://github.com/OXID-eSales/oxideshop_ce/pull/393

anton.fedurtsya

2016-06-08 14:05

administrator   ~0011632

Thank you Michael. The pull request was just merged to master and ported to 5.3