Hello,
Thank you for your reviews!
I've just fixed codestyle issues and replaced HTML5 preamble with XHTML.
respond-static-file: We should not second-guess the VFS layer. Checking for ".." gives an illusion of security when in fact random things could be mounted and also the VFS could have funny syntax for who knows what on the filesystem. Let's rather have a static list of permissible names and allow those (whitelist). That's the intention of the check anyway, right?
Also, in light of an ever-changing backing store (cuirass continusly evaluates things), the way you are doing pagination is not the correct way to do it because the data set will scroll underneath you and you will miss items (or see duplicate items) as an user. Also, it's slow and the DBMS can't reuse anything because you are cutting it off and offseting it over and over again and the transaction isolation level is too low for the DBMS to be able to do anything about it[1].
It is good practise to make small commits, one for every set of
logically connected changes. This makes the review simpler and it makes
it easier to merge some parts while leaving others for later.
Okay, I will follow this commit strategy.