Mappings need to be canonicalised, so the trailing slashes need to be removed.