Skip to content

[release/8.0] Disable ResolveLinkTarget_Succeeds returnFinalTarget=true for UNC paths#124906

Open
github-actions[bot] wants to merge 2 commits intorelease/8.0from
backport/pr-124867-to-release/8.0
Open

[release/8.0] Disable ResolveLinkTarget_Succeeds returnFinalTarget=true for UNC paths#124906
github-actions[bot] wants to merge 2 commits intorelease/8.0from
backport/pr-124867-to-release/8.0

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 26, 2026

Backport of #124867 to release/8.0

/cc @jozkee @copilot

ResolveLinkTarget_Succeeds fails with IOException: The specified network name is no longer available on Windows versions that have UNC access disabled, because SymbolicLink_ResolveLinkTarget_PathToTarget_Data was yielding UNC paths with returnFinalTarget=true, causing Windows to actually attempt to resolve \LOCALHOST\share\path.

Test only change for 8.0 (and 9.0), for 10.0 we backported the fix: #124869.

Copilot AI and others added 2 commits February 26, 2026 16:59
Co-authored-by: jozkee <16040868+jozkee@users.noreply.github.com>
@jozkee jozkee changed the title [release/8.0] [release/9.0] Disable ResolveLinkTarget_Succeeds returnFinalTarget=true for UNC paths [release/8.0] Disable ResolveLinkTarget_Succeeds returnFinalTarget=true for UNC paths Feb 26, 2026
@jozkee jozkee added Servicing-approved Approved for servicing release area-System.IO labels Feb 26, 2026
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-io
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-System.IO Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants