From 2e27944041d08c83d1e2ad04dcbbe49988712e4e Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Wed, 7 Nov 2018 14:04:13 +0100 Subject: [PATCH] [Fix] properly encodue URI component in inspector search --- bower.json | 2 +- strolch-wc-inspector-objects.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bower.json b/bower.json index 87e78f5..4883992 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "strolch-wc-inspector", "description": "Strolch WebComponent Inspector", - "version": "0.11.1", + "version": "0.11.2", "authors": ["Robert von Burg"], "keywords": [ "strolch", diff --git a/strolch-wc-inspector-objects.html b/strolch-wc-inspector-objects.html index f8e27c2..5a82525 100644 --- a/strolch-wc-inspector-objects.html +++ b/strolch-wc-inspector-objects.html @@ -510,7 +510,7 @@ }; var url = this.basePath + 'rest/strolch/inspector/' + this.realm + '/' + this._typeSubPath(this.objectType) + '/' + this.selectedType; - url += '?offset=' + this.offset + '&limit=' + this.limit + "&orderBy=id&query=" + this.searchTerm + '&overview=true'; + url += '?offset=' + this.offset + '&limit=' + this.limit + "&orderBy=id&query=" + encodeURIComponent(this.searchTerm) + '&overview=true'; this.$.ajax.url = url; this.$.ajax.method = 'GET';