Don't trim query string from decoded URL params (#6211)

This commit is contained in:
WithoutPants 2025-10-29 11:13:46 +11:00 committed by GitHub
parent db79cf9bb1
commit f04be76224
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -183,7 +183,7 @@ export class ListFilterModel {
ret.disp = Number.parseInt(params.disp, 10);
}
if (params.q) {
ret.q = params.q.trim();
ret.q = params.q;
}
if (params.p) {
ret.p = Number.parseInt(params.p, 10);