You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2011/11/18 04:15:50 UTC
svn commit: r1203473 -
/ofbiz/trunk/applications/content/template/mime-type/image.ftl
Author: hansbak
Date: Fri Nov 18 03:15:50 2011
New Revision: 1203473
URL: http://svn.apache.org/viewvc?rev=1203473&view=rev
Log:
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="<@o...@ofbizUrl>"/>
+<img src="<@ofbizUrl secure="${request.isSecure()?string}">stream?contentId=${contentId}</...@ofbizUrl>"/>
\ No newline at end of file