Standardise on trailing slashes in pathless URLs