Tools that treat the paths /foo/bar and /foo/bar/ differently violate the principle of least surprise.