mirror of https://github.com/apache/lucene.git
SOLR-7369: AngularJS UI insufficient URLDecoding in cloud/tree view
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672637 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3464197249
commit
de61fa6f3c
|
@ -101,6 +101,8 @@ Bug Fixes
|
|||
* SOLR-7370: FSHDFSUtils#recoverFileLease tries to recover the lease every one second after
|
||||
the first four second wait. (Mark Miller)
|
||||
|
||||
* SOLR-7369: AngularJS UI insufficient URLDecoding in cloud/tree view (janhoy)
|
||||
|
||||
Optimizations
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ var treeSubController = function($scope, Zookeeper) {
|
|||
$scope.showData = false;
|
||||
|
||||
$scope.showTreeLink = function(link) {
|
||||
var path = link.replace(/.*path=/, "").replace("%2F", "/");
|
||||
var path = decodeURIComponent(link.replace(/.*[\\?&]path=([^&#]*).*/, "$1"));
|
||||
Zookeeper.detail({path: path}, function(data) {
|
||||
$scope.znode = data.znode;
|
||||
var path = data.znode.path.split( '.' );
|
||||
|
|
Loading…
Reference in New Issue