svn commit: r1203473 - /ofbiz/trunk/applications/content/template/mime-type/image.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1203473 - /ofbiz/trunk/applications/content/template/mime-type/image.ftl

hansbak-2
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="<@ofbizUrl>stream?contentId=${contentId}</@ofbizUrl>"/>
+<img src="<@ofbizUrl secure="${request.isSecure()?string}">stream?contentId=${contentId}</@ofbizUrl>"/>
\ No newline at end of file