Author: hansbak
Date: Fri Nov 18 03:15:50 2011
New Revision: 1203473
URL:
http://svn.apache.org/viewvc?rev=1203473&view=revLog:
fixed https problem when use <@renderSubContent> with image
Modified:
ofbiz/trunk/applications/content/template/mime-type/image.ftl
Modified: ofbiz/trunk/applications/content/template/mime-type/image.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/mime-type/image.ftl?rev=1203473&r1=1203472&r2=1203473&view=diff==============================================================================
--- ofbiz/trunk/applications/content/template/mime-type/image.ftl (original)
+++ ofbiz/trunk/applications/content/template/mime-type/image.ftl Fri Nov 18 03:15:50 2011
@@ -16,4 +16,4 @@
specific language governing permissions and limitations
under the License.
-->
-<img src="<@ofbizUrl>stream?contentId=${contentId}</@ofbizUrl>"/>
+<img src="<@ofbizUrl secure="${request.isSecure()?string}">stream?contentId=${contentId}</@ofbizUrl>"/>
\ No newline at end of file