{"version":"2.1.280","anchor":"windows-path-normalization-now-expands-before-checking-tra","canonical_anchor":"windows-path-normalization-now-expands-before-checking-tra","heading":"Windows path-normalization now expands ~ before checking trailing separators","tier":"internal","area":"Windows","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280\/e\/windows-path-normalization-now-expands-before-checking-tra","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280","markdown":"### Windows path-normalization now expands ~ before checking trailing separators\n\nWindows path normalization now expands a leading ~ before deciding whether to add a trailing separator\n\n**What**\n\nThe helper that decides whether to add a trailing separator to a Windows file path now first expands a leading `~` (representing the home directory) by resolving it, before running its usual directory and UNC (network path) checks.\n\n**Why**\n\nThis makes home-relative paths (like `~\\Documents`) get normalized the same way as absolute paths, avoiding inconsistent handling of a common shorthand for the user's home folder.\n\n- Area: Windows\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}