[GH-ISSUE #743] special character in project name makes it impossible to filter on the project #6296

Closed
opened 2026-04-20 16:52:52 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @RosanneZe on GitHub (May 8, 2025).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/743

Description

Steps to reproduce:

  • Name a project Todo's
  • In a save filter add project = Todo's
  • Get the following error when trying to save:

Error
Invalid task filter value. The task filter value 'Todo's' for field 'project_id' is invalid.

If I remove the ', everything works as expected.

Vikunja Version

v0.24.1-1080-ea1a1843

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

No response

Originally created by @RosanneZe on GitHub (May 8, 2025). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/743 ### Description Steps to reproduce: * Name a project `Todo's` * In a save filter add `project = Todo's` * Get the following error when trying to save: Error Invalid task filter value. The task filter value 'Todo's' for field 'project_id' is invalid. If I remove the `'`, everything works as expected. ### Vikunja Version v0.24.1-1080-ea1a1843 ### Browser and version _No response_ ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots _No response_
GiteaMirror added the area/filters label 2026-04-20 16:52:52 -05:00
Author
Owner

@kolaente commented on GitHub (May 8, 2025):

Does it work if you quote the title with "?

<!-- gh-comment-id:2862750584 --> @kolaente commented on GitHub (May 8, 2025): Does it work if you quote the title with `"`?
Author
Owner

@RosanneZe commented on GitHub (May 8, 2025):

I'm pretty sure I tried that and it didn't work. I wanted to try it on the demo site just now, but weird things are going on on my iPad. If I add a ' or " after the =, it doubles the next letter I type, so "T becomes TT. If I copy paste project = "Todo's" it becomes project = Todoo's" with an extra o!

I'll try again on my work laptop tomorrow.

<!-- gh-comment-id:2862832728 --> @RosanneZe commented on GitHub (May 8, 2025): I'm pretty sure I tried that and it didn't work. I wanted to try it on the demo site just now, but weird things are going on on my iPad. If I add a `'` or `"` after the =, it doubles the next letter I type, so `"T` becomes `TT`. If I copy paste `project = "Todo's"` it becomes `project = Todoo's"` with an extra o! I'll try again on my work laptop tomorrow.
Author
Owner

@RosanneZe commented on GitHub (May 9, 2025):

I'm getting the same weird quote behaviour in firefox in Ubuntu, so I can't actually check if quoting works.

<!-- gh-comment-id:2865445314 --> @RosanneZe commented on GitHub (May 9, 2025): I'm getting the same weird quote behaviour in firefox in Ubuntu, so I can't actually check if quoting works.
Author
Owner

@kolaente commented on GitHub (Aug 11, 2025):

Fixed in 5651c0b818, please check with the next unstable build (should be ready for deployment in ~30min, also on try).

<!-- gh-comment-id:3175422909 --> @kolaente commented on GitHub (Aug 11, 2025): Fixed in https://github.com/go-vikunja/vikunja/commit/5651c0b818c4df3d92c9053ef26475239d707640, please check with the next unstable build (should be ready for deployment in ~30min, also on [try](https://try.vikunja.io)).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6296