diff --git a/src/plugins/discover/public/application/angular/doc_table/components/table_row.ts b/src/plugins/discover/public/application/angular/doc_table/components/table_row.ts index 3b48c4c79365e..b2a880d074624 100644 --- a/src/plugins/discover/public/application/angular/doc_table/components/table_row.ts +++ b/src/plugins/discover/public/application/angular/doc_table/components/table_row.ts @@ -112,13 +112,17 @@ export function createTableRowDirective($compile: ng.ICompileService, $httpParam const globalFilters: any = getServices().filterManager.getGlobalFilters(); const appFilters: any = getServices().filterManager.getAppFilters(); const hash = $httpParamSerializer({ - _g: rison.encode({ - filters: globalFilters || [], - }), - _a: rison.encode({ - columns: $scope.columns, - filters: (appFilters || []).map(esFilters.disableFilter), - }), + _g: encodeURI( + rison.encode({ + filters: globalFilters || [], + }) + ), + _a: encodeURI( + rison.encode({ + columns: $scope.columns, + filters: (appFilters || []).map(esFilters.disableFilter), + }) + ), }); return `${path}?${hash}`;