Fix fs::RemoveRelativePathComponents for paths with a leading dot component
authorShadowNinja <shadowninja@minetest.net>
Thu, 24 Nov 2016 15:35:48 +0000 (10:35 -0500)
committerShadowNinja <shadowninja@minetest.net>
Thu, 24 Nov 2016 15:38:23 +0000 (10:38 -0500)
commite4ee6548afd01040046ee3780d0fbb121d141251
treee36f66f1e50ce7d7ef934e429a12865ad3facab6
parent3af5eef96463510a27cf06b9c3ecc9f1d04cdac6
Fix fs::RemoveRelativePathComponents for paths with a leading dot component

Previously, paths like ./worlds would be resolved to /worlds since the
leading dot was considered just as irrelevant as a dot in the middle of
the path.
src/filesys.cpp