Fixing trailing slash in URLs.