mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Fix + character not handled correctly in query URL
This commit is contained in:
@@ -132,6 +132,9 @@ export class ListFilterModel {
|
||||
} else {
|
||||
searchTerm = params.q;
|
||||
}
|
||||
|
||||
// See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#decoding_query_parameters_from_a_url
|
||||
searchTerm = searchTerm.replaceAll("+", " ");
|
||||
params.q = decodeURIComponent(searchTerm);
|
||||
}
|
||||
if (params.c !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user