Project

General

Profile

« Previous | Next » 

Revision 51896

fixed encoding problem in broker/getTopicsForDatasource request

View differences:

modules/uoa-repository-dashboard-gui/trunk/app/services/broker.service.ts
90 90
  }
91 91

  
92 92
  getTopicsForDataSource(name: string): Observable<BrowseEntry[]> {
93
    let url = `${this.apiUrl}getTopicsForDatasource/${name}`;
93
    let url = `${this.apiUrl}getTopicsForDatasource/${encodeURIComponent(name)}`;
94 94
    console.log(`knocking on: ${url}`);
95 95
    httpOptions.withCredentials = true;
96 96
    return this.http.get(url, httpOptions)

Also available in: Unified diff