Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
WindowsArea: what it touches
Internal ChangesKind: in v2.1.280,
Internal ChangesSection of the release
What
The function that checks whether a file path is unsafe on the current platform now returns a specific reason code instead of a plain true/false. Possible reasons include nt_device_namespace, colon_past_drive_position, tilde_digit, device_path_prefix, trailing_dot_or_whitespace, dos_device_suffix, dot_run_segment, and unc_or_webdav_form.
Why
Knowing the specific reason a Windows path was flagged as unsafe, rather than just that it was, allows more precise handling or messaging around path validation, particularly for Windows-specific quirks like device namespaces and reserved path forms.