You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GET /years endpoint (https://rest.ksi.fi.muni.cz/years) currently exposes the following properties:
sum_points: Includes points for tasks that have not yet been released.
tasks_cnt: Includes a count of tasks that have not yet been released.
This behavior allows anyone to deduce how many tasks are unreleased and the potential points they might earn from these tasks.
Steps to Reproduce
Access the endpoint https://rest.ksi.fi.muni.cz/years without any specific restrictions or permissions.
Observe that the response includes the properties sum_points and tasks_cnt with values reflecting both released and unreleased tasks (e.g., there is a greater number of tasks than the user can see).
Expected Behavior
The properties sum_points and tasks_cnt should only account for tasks that are already released.
Unreleased tasks should not influence the response data in any way.
The text was updated successfully, but these errors were encountered:
The
GET /years
endpoint (https://rest.ksi.fi.muni.cz/years
) currently exposes the following properties:sum_points
: Includes points for tasks that have not yet been released.tasks_cnt
: Includes a count of tasks that have not yet been released.This behavior allows anyone to deduce how many tasks are unreleased and the potential points they might earn from these tasks.
Steps to Reproduce
https://rest.ksi.fi.muni.cz/years
without any specific restrictions or permissions.sum_points
andtasks_cnt
with values reflecting both released and unreleased tasks (e.g., there is a greater number of tasks than the user can see).Expected Behavior
sum_points
andtasks_cnt
should only account for tasks that are already released.The text was updated successfully, but these errors were encountered: