From 1351950a535b19ff75430f188c72235cd8b71ead Mon Sep 17 00:00:00 2001 From: Eileen Date: Sat, 4 Jan 2014 12:35:14 +1300 Subject: [PATCH] CRM-13492 specify = TRUE on navigation menu - this will cause urls to have & not & in them (Am currently unsure about the ones which have inconsistently stored a '?' in the civicrm_navigation menu - ie. http://issues.civicrm.org/jira/browse/CRM-13942?focusedCommentId=54821&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-54821 as I cleaned them out of my DB) ---------------------------------------- * CRM-13492: buildAmount Hook functionality changed -- difficult to use / undocumented http://issues.civicrm.org/jira/browse/CRM-13492 --- CRM/Core/BAO/Navigation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/BAO/Navigation.php b/CRM/Core/BAO/Navigation.php index c05d6a52d6..629a0b4d2e 100644 --- a/CRM/Core/BAO/Navigation.php +++ b/CRM/Core/BAO/Navigation.php @@ -495,7 +495,7 @@ ORDER BY parent_id, weight"; //CRM-7656 --make sure to separate out url path from url params, //as we'r going to validate url path across cross-site scripting. $urlParam = CRM_Utils_System::explode('&', str_replace('?', '&', $url), 2); - $url = CRM_Utils_System::url($urlParam[0], $urlParam[1], FALSE, NULL, FALSE); + $url = CRM_Utils_System::url($urlParam[0], $urlParam[1], FALSE, NULL, TRUE); } $makeLink = TRUE; } -- 2.25.1