Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/a3ad10b459b285ca51a743954f0899909f1104e8?style=split&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
/* this function is only used (at this time) to compare filenames eachother, so it has to distinguish a folder named "A" from a file named "A"
// notice that it is a really poor way to search for file indexes, and that the code where it is called should be entirely reworked, when the time permits it. */