Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Commit

Permalink
fix XSS vulnerability
Browse files Browse the repository at this point in the history
updated to jsontree 0.1.7

closes #75
  • Loading branch information
lmenezes committed Feb 8, 2014
1 parent ef2acda commit 67bca09
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 24 deletions.
9 changes: 1 addition & 8 deletions dist/kopf.css
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@ a.header-index-action-mini:hover {
content: '-';
}

/* properties for expand icon */
.json-object-expand {
display: inline-block;
font-weight: 500;
Expand Down Expand Up @@ -731,14 +732,6 @@ a.header-index-action-mini:hover {
.json-string {
color: #2DB669;
}
/* json string right " */
.json-string:after {
content: "\"";
}
/* json string left " */
.json-string:before {
content: "\"";
}
/* json boolean style */
.json-boolean {
color: #2525CC;
Expand Down
2 changes: 1 addition & 1 deletion dist/kopf.js
Original file line number Diff line number Diff line change
Expand Up @@ -1790,7 +1790,7 @@ function CreateIndexController($scope, $location, $timeout, AlertService) {
}
function GlobalController($scope, $location, $timeout, $sce, ConfirmDialogService, AlertService, SettingsService) {
$scope.dialog = ConfirmDialogService;
$scope.version = "0.5.0";
$scope.version = "0.5.1";
$scope.username = null;
$scope.password = null;
$scope.alerts_service = AlertService;
Expand Down
4 changes: 2 additions & 2 deletions dist/lib.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion es-plugin.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
description=kopf - simple web administration tool for ElasticSearch
version=0.5.0
version=0.5.1
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "elasticsearch-kopf",
"version": "0.5.0",
"version": "0.5.1",
"description": "kopf - simple web administration tool for ElasticSearch",
"main": "index.html",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/kopf/controllers/global.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function GlobalController($scope, $location, $timeout, $sce, ConfirmDialogService, AlertService, SettingsService) {
$scope.dialog = ConfirmDialogService;
$scope.version = "0.5.0";
$scope.version = "0.5.1";
$scope.username = null;
$scope.password = null;
$scope.alerts_service = AlertService;
Expand Down
9 changes: 1 addition & 8 deletions src/kopf/css/json_tree.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
content: '-';
}

/* properties for expand icon */
.json-object-expand {
display: inline-block;
font-weight: 500;
Expand Down Expand Up @@ -42,14 +43,6 @@
.json-string {
color: #2DB669;
}
/* json string right " */
.json-string:after {
content: "\"";
}
/* json string left " */
.json-string:before {
content: "\"";
}
/* json boolean style */
.json-boolean {
color: #2525CC;
Expand Down
4 changes: 2 additions & 2 deletions src/lib/jsontree/jsontree.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 67bca09

Please sign in to comment.