Closed Malayke closed 1 year ago
I would also put a check in the History function itself to limit its output anywhere it is called. Check the days
input here:
In my opinion, unreliable data submitted by users should be checked at its source, which means within the "days" function. If the check is done within the "History" function, there may still be issues if other functions subsequently call the "days" function.
I want the check in BOTH places.
of course, it's up to you.
hi @mperham , we added value check both in days and history function for now.
Looks like CI is broken, can't merge until I fix that.
Fixed, please merge main now so we can run CI.
Thank you!
limit the
days
length from URL query parameter to prevent out-of-memory in the(store *redisStore) History
function