{"version":"2.1.229","anchor":"trailing-slashes-stripped-during-path-normalisation","canonical_anchor":"trailing-slashes-stripped-during-path-normalisation","heading":"Trailing slashes stripped during path normalisation","tier":"notice","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.229\/e\/trailing-slashes-stripped-during-path-normalisation","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.229","markdown":"### Trailing slashes stripped during path normalisation\n\nPaths with a trailing slash are now treated the same as ones without.\n\n**What**\n\nOn platforms other than Windows, a trailing `\/` is trimmed before the rest of path resolution, with the root `\/` preserved, so `foo\/bar\/` and `foo\/bar` are treated as the same path.\n\n**Evidence**\n\n`e.endsWith(\"\/\") && e !== \"\/\"`\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5"}