Encode query string (#2552)

This commit is contained in:
WithoutPants 2022-05-04 09:29:05 +10:00 committed by GitHub
parent 21a26fadd8
commit 1a6f5619ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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