Skip to content

[3.15] gh-160506: Fix ntpath.realpath() for broken links via directory links (GH-160507) - #161026

Merged
gpshead merged 1 commit into
python:3.15from
miss-islington:backport-65665a4-3.15
Oct 31, 2026
Merged

gpshead merged 1 commit into
python:3.15from
miss-islington:backport-65665a4-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Resolve the directory containing a broken relative symlink before
joining the link target to it, so that '..' in the target is applied
to the real directory.

ANT-2026-27II3A20
(cherry picked from commit 65665a4)

Co-authored-by: Gregory P. Smith [email protected]

… links (pythonGH-160507)

Resolve the directory containing a broken relative symlink before
joining the link target to it, so that '..' in the target is applied
to the real directory.

ANT-2026-27II3A20
(cherry picked from commit 65665a4)

Co-authored-by: Gregory P. Smith <[email protected]>
@bedevere-app bedevere-app Bot added sprint type-security A security issue labels Oct 31, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Sprint Oct 31, 2026
@gpshead
gpshead enabled auto-merge (squash) October 31, 2026 19:10
@gpshead
gpshead merged commit 18e07bf into python:3.15 Oct 31, 2026
60 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Sprint Oct 31, 2026
@miss-islington
miss-islington deleted the backport-65665a4-3.15 branch October 31, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sprint type-security A security issue

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants