From 6100a93b3ad0f267a3b9b28d6605e47118569267 Mon Sep 17 00:00:00 2001 From: Josh Crawford Date: Wed, 3 Feb 2016 14:46:57 +1100 Subject: [PATCH] version 1.7.2 --- changelog.json | 8 ++++++++ cpnav/CpNavPlugin.php | 2 +- cpnav/services/CpNavService.php | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/changelog.json b/changelog.json index a6a669a..b9db57f 100644 --- a/changelog.json +++ b/changelog.json @@ -1,4 +1,12 @@ [ + { + "version": "1.7.2", + "downloadUrl": "https://github.com/engram-design/CPNav/archive/1.7.2.zip", + "date": "2016-02-03 14:46:00", + "notes": [ + "[Fixed] Fixed issue with url's not being properly sanitised and processed." + ] + }, { "version": "1.7.1", "downloadUrl": "https://github.com/engram-design/CPNav/archive/1.7.1.zip", diff --git a/cpnav/CpNavPlugin.php b/cpnav/CpNavPlugin.php index da6a87c..7115550 100644 --- a/cpnav/CpNavPlugin.php +++ b/cpnav/CpNavPlugin.php @@ -14,7 +14,7 @@ public function getName() public function getVersion() { - return '1.7.1'; + return '1.7.2'; } public function getSchemaVersion() diff --git a/cpnav/services/CpNavService.php b/cpnav/services/CpNavService.php index 27879ee..3bc1a68 100644 --- a/cpnav/services/CpNavService.php +++ b/cpnav/services/CpNavService.php @@ -64,7 +64,7 @@ public function modifyCpNav(&$nav) if ($newNav->enabled) { $nav[$newNav->handle] = array( 'label' => $newNav->currLabel, - 'url' => $newNav->url, + 'url' => $url, ); // Check for placeholder icons - we need to fetch from the plugin