You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/02/13 12:47:03 UTC
svn commit: r744088 -
/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy
Author: jleroux
Date: Fri Feb 13 11:47:02 2009
New Revision: 744088
URL: http://svn.apache.org/viewvc?rev=744088&view=rev
Log:
Fix a bug reported on user ML by Amit Sharma
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy?rev=744088&r1=744087&r2=744088&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy Fri Feb 13 11:47:02 2009
@@ -117,8 +117,7 @@
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 @@
// 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;