[release/9.0-staging] Fix absolute path check when loading hostfxr/hostpolicy/coreclr by elinor-fung · Pull Request #116775 · dotnet/runtime
On Windows, we were incorrectly only checking for <letter>: and incorrectly determining that UNC and device paths were not absolute. This updates pal::is_path_rooted to match the managed Path.IsPathRooted and adds a pal::is_path_absolute with the logic of Path.IsPartiallyQualified
AI review requested due to automatic review settings
June 18, 2025 02:13This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters