Project

General

Profile

« Previous | Next » 

Revision 53593

Fix issue #3985: add url encoding in "q" parameter

View differences:

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