dualfroz 23bbaa8c60 fix(ical): only accept known columns as the calendar start date
The calendar_project_tasks and calendar_user_tasks settings were used as a
column name in the iCal query, and escapeIdentifier() leaves values with a
space or a dot untouched. A stored value like "1 OR 1=1 OR 1" made the public
project feed return tasks from every project.

Only date_creation and date_started are accepted now, anything else falls
back to date_started. The currency form also stops saving keys other than
application_currency, which is how the value could be written in the first
place.

Fixes #5904
2026-10-03 16:44:04 +02:00
S
Description
My contributions to kanboard/kanboard: 7 commits, 4 merged PRs
59 KiB
0 Stars 1 Watchers 0 Forks
Languages
PHP 100%