From b04697bdf6320cb30495144743e17057dcd331aa Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Fri, 13 Feb 2009 11:47:02 +0000 Subject: [PATCH] Fix a bug reported on user ML by Amit Sharma git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744088 13f79535-47bb-0310-9956-ffa450edef68 --- .../WEB-INF/actions/entry/catalog/InlineProductDetail.groovy | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy b/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy index eb1a4d8e4c..e788ef8a8d 100644 --- a/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy +++ b/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy @@ -117,8 +117,7 @@ if (inlineProduct) { mainDetailImage = productContentWrapper.get("DETAIL_IMAGE_URL"); if (mainDetailImage) { mainDetailImageUrl = ContentUrlTag.getContentPrefix(request) + mainDetailImage; - mainDetailImageUrl = URLEncoder.encode(Base64.base64Encode(mainDetailImage), "UTF-8"); - context.mainDetailImageUrl = mainDetailImageUrl; + context.mainDetailImageUrl = mainDetailImageUrl.toString(); } @@ -235,8 +234,6 @@ if (inlineProduct) { // append the content prefix if (detailImage) { detailImageUrl = ContentUrlTag.getContentPrefix(request) + detailImage; - // base64 encode the image url for a little protection - detailImageUrl = URLEncoder.encode(Base64.base64Encode(detailImageUrl), "UTF-8"); } if (largeImage) { largeImageUrl = ContentUrlTag.getContentPrefix(request) + largeImage;