GX-Bug #51841 » SitemapImageURLFix3-4.patch
src/admin/includes/gm/classes/GMSitemapXML.php (revision ) | ||
---|---|---|
568 | 568 |
{ |
569 | 569 |
if($p_type == 'cat') |
570 | 570 |
{ |
571 |
$imageUrl = HTTP_SERVER . DIR_WS_CATALOG_IMAGES . 'categories/' . $image['image'];
|
|
571 |
$imageUrl = HTTP_SERVER . DIR_WS_CATALOG_IMAGES . 'categories/' . rawurlencode($image['image']);
|
|
572 | 572 |
} |
573 | 573 |
elseif($p_type == 'prd') |
574 | 574 |
{ |
575 |
$imageUrl = HTTP_SERVER . DIR_WS_CATALOG_IMAGES . 'product_images/gallery_images/'
|
|
576 |
. $image['image'];
|
|
575 |
$imageUrl = HTTP_SERVER . DIR_WS_CATALOG_IMAGES . 'product_images/popup_images/'
|
|
576 |
. rawurlencode($image['image']);
|
|
577 | 577 |
} |
578 | 578 |
|
579 | 579 |
if(!empty($image['image_alt_text'])) |