This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch release18.12 in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release18.12 by this push: new dba044c706 Implemented: Only accept right URLs as referrer (OFBIZ-13219) dba044c706 is described below commit dba044c706c250c6f24a8552de6e617eba846087 Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Thu Apr 3 08:55:10 2025 +0200 Implemented: Only accept right URLs as referrer (OFBIZ-13219) Fixes a backport "typo" (UtilValidate::isUrlInString is UtilValidate::isUrl in 24.09 and 18.12 In previous commit I missed to change VisitDetail.ftl --- applications/party/template/visit/VisitDetail.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/party/template/visit/VisitDetail.ftl b/applications/party/template/visit/VisitDetail.ftl index 5542e36da5..908eddb262 100644 --- a/applications/party/template/visit/VisitDetail.ftl +++ b/applications/party/template/visit/VisitDetail.ftl @@ -69,7 +69,7 @@ under the License. </tr> <tr> <td class="label">${uiLabelMap.PartyInitialReferer}</td> - <#assign isUrl = Static["org.apache.ofbiz.base.util.UtilValidate"].isUrlInString(visit.initialReferrer)> + <#assign isUrl = Static["org.apache.ofbiz.base.util.UtilValidate"].isUrl(visit.initialReferrer)> <#if isUrl> <td><a href="${visit.initialReferrer!}" >${visit.initialReferrer!}</a></td> <#else>