Skip to content

Commit

Permalink
Encode query string (#2552)
Browse files Browse the repository at this point in the history
  • Loading branch information
WithoutPants authored May 3, 2022
1 parent 21a26fa commit 1a6f561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/v2.5/src/models/list-filter/filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export class ListFilterModel {
this.displayMode !== DEFAULT_PARAMS.displayMode
? this.displayMode
: undefined,
q: this.searchTerm,
q: this.searchTerm ? encodeURIComponent(this.searchTerm) : undefined,
p:
this.currentPage !== DEFAULT_PARAMS.currentPage
? this.currentPage
Expand Down

0 comments on commit 1a6f561

Please sign in to comment.