Remove doubled slash between folder and path
Do not filemtime() on "." directory. Use empty string instead

Fix #9928
Ensure that filename is prefixed with a slash
backport of #10340

better check whether string resembles a DN, fixes #9887

adjust login test to code changes

unify tests
Merge branch 'stable7-upstream' into stable7-rotdrop