Revision 53593
Added by Argiro Kokogiannaki over 5 years ago
searchDataproviders.service.ts | ||
---|---|---|
423 | 423 |
numOfSearchDataproviders(params: string, properties:EnvProperties):any { |
424 | 424 |
let url: string = properties.searchAPIURLLAst+"datasources/count?format=json"; |
425 | 425 |
if(params != "") { |
426 |
url += "&q=" + params;
|
|
426 |
url += "&q=" + StringUtils.URIEncode(params);
|
|
427 | 427 |
} |
428 | 428 |
|
429 | 429 |
return this.numOfDataproviders(url, properties); |
Also available in: Unified diff
Fix issue #3985: add url encoding in "q" parameter