[Fix] properly encodue URI component in inspector search

This commit is contained in:
Robert von Burg 2018-11-07 14:04:13 +01:00
parent 93f8e23cfc
commit 2e27944041
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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';