Remove redundant trailing slash