mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Fix + character not handled correctly in query URL
This commit is contained in:
@@ -132,6 +132,9 @@ export class ListFilterModel {
|
|||||||
} else {
|
} else {
|
||||||
searchTerm = params.q;
|
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);
|
params.q = decodeURIComponent(searchTerm);
|
||||||
}
|
}
|
||||||
if (params.c !== undefined) {
|
if (params.c !== undefined) {
|
||||||
|
|||||||
Reference in New Issue
Block a user