fix(server/registry): use url.Value.Encode()

Instead of open coding url encoding which lead to error, make it real
and use the library.
This commit is contained in:
Brandon Philips
2013-12-13 12:37:12 -08:00
parent e24d2fdb6c
commit 7e5aa3137d
2 changed files with 5 additions and 4 deletions

View File

@ -56,7 +56,6 @@ angular.module('etcdBrowser', ['ngRoute', 'etcd', 'timeRelative'])
return;
}
$scope.key.get().success(function (data, status, headers, config) {
console.log(data)
//hide any errors
$('#etcd-browse-error').hide();
// Looking at a directory if we got an array