~sircmpwn/todo.sr.ht#167: Invalid link on "n tickets"

On a personnal project on https://todo.sr.ht/ at the Labels page, I've the list of labels. For each label, there is a n tickets link.

When I click on that link, I'm redirected to https://todo.sr.ht/~myusername/myproject?search=label:"thelabel" (the second " is interpreted here).

If I remove the two ", the URL works.

I think the error come from here: https://git.sr.ht/~sircmpwn/todo.sr.ht/tree/a10b980692778cbc92fcad88d8ce5b2d2f0ad1e8/todosrht/urls.py#L46

Status
REPORTED
Submitter
~pifyz
Assigned to
No-one
Submitted
4 months ago
Updated
4 months ago
Labels
No labels applied.

It's a bit quiet in here.