From 6b2c9bbdf01fc6becaeb9abb2b759b12de28d2de Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Thu, 11 Mar 2010 22:25:32 +0000 Subject: [PATCH] Fix a security issue reported by Heidi Dehaes at "unsubscribe from a contactlist in the "profile" screen in the ecommerce screens" (https://issues.apache.org/jira/browse/OFBIZ-3396) - OFBIZ-3396 Actually this commit fixes rather 2 security issues git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@922042 13f79535-47bb-0310-9956-ffa450edef68 --- .../webapp/ecommerce/customer/viewprofile.ftl | 22 ++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/ecommerce/webapp/ecommerce/customer/viewprofile.ftl b/ecommerce/webapp/ecommerce/customer/viewprofile.ftl index f3e9070d4..baee5fb8b 100644 --- a/ecommerce/webapp/ecommerce/customer/viewprofile.ftl +++ b/ecommerce/webapp/ecommerce/customer/viewprofile.ftl @@ -484,8 +484,16 @@ under the License. ${emailAddress.infoString?if_exists}   - <#if (contactListParty.statusId?if_exists == "CLPT_ACCEPTED")> - ${uiLabelMap.EcommerceUnsubscribe} + <#if (contactListParty.statusId?if_exists == "CLPT_ACCEPTED")> +
+
+ + + + + +
+
<#elseif (contactListParty.statusId?if_exists == "CLPT_PENDING")>
@@ -498,7 +506,15 @@ under the License.
<#elseif (contactListParty.statusId?if_exists == "CLPT_REJECTED")> - ${uiLabelMap.EcommerceSubscribe} +
+
+ + + + + +
+