allow dots at the end of a path, followed by a slash