Author: jleroux
Date: Sat Dec 30 22:21:44 2017
New Revision: 1819691
URL:
http://svn.apache.org/viewvc?rev=1819691&view=revLog:
No functional changes.
Removes or documents the last vestiges of HTTP and 8080
Modified:
ofbiz/ofbiz-framework/trunk/applications/product/template/imagemanagement/ImageShare.ftl
ofbiz/ofbiz-framework/trunk/framework/webapp/config/fop.xconf
Modified: ofbiz/ofbiz-framework/trunk/applications/product/template/imagemanagement/ImageShare.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/template/imagemanagement/ImageShare.ftl?rev=1819691&r1=1819690&r2=1819691&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/product/template/imagemanagement/ImageShare.ftl (original)
+++ ofbiz/ofbiz-framework/trunk/applications/product/template/imagemanagement/ImageShare.ftl Sat Dec 30 22:21:44 2017
@@ -36,8 +36,8 @@ $(document).ready(function(){
var pathImageThumbnailUrl = contentURL + imageThumbUrl;
}
else {
- var pathImageUrlEcommerce = "
http://localhost:8080" + imageUrl;
- var pathImageUrl = "http://" + host + imageUrl;
+ var pathImageUrlEcommerce = "
https://localhost:8443" + imageUrl;
+ var pathImageUrl = "https://" + host + imageUrl;
var pathImageThumbnailUrl = "http://"+ host + imageThumbUrl;
}
Modified: ofbiz/ofbiz-framework/trunk/framework/webapp/config/fop.xconf
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webapp/config/fop.xconf?rev=1819691&r1=1819690&r2=1819691&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/webapp/config/fop.xconf (original)
+++ ofbiz/ofbiz-framework/trunk/framework/webapp/config/fop.xconf Sat Dec 30 22:21:44 2017
@@ -31,6 +31,7 @@ the location of this file.
<fop version="1.0">
<!-- Base URL for resolving relative URLs -->
+ <!-- We have to keep HTTP URL , FOP does not support HTTPS baseUrl for external graphics due to certificate issue (not remember exact reason) -->
<base>
http://localhost:8080</base>
<!-- Source resolution in dpi (dots/pixels per inch) for determining the size of pixels in SVG and bitmap images, default: 72dpi -->