Skip to content

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

Merged
jozkee merged 2 commits intorelease/8.0from
backport/pr-124867-to-release/8.0
Mar 3, 2026
Merged

[release/8.0] Disable ResolveLinkTarget_Succeeds returnFinalTarget=true for UNC paths#124906
jozkee merged 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.

@jozkee
Copy link
Member

jozkee commented Mar 3, 2026

/ba-g #123157, #125135

@jozkee jozkee merged commit 3b39d74 into release/8.0 Mar 3, 2026
113 of 120 checks passed
@jozkee jozkee deleted the backport/pr-124867-to-release/8.0 branch March 3, 2026 17:40
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.

3 participants