Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.20-maintenance] Restore builtins.pathExists behavior on broken symlinks #10023

Merged
merged 2 commits into from
Feb 16, 2024

Conversation

github-actions[bot]
Copy link

Automatic backport to 2.20-maintenance, triggered by a label in #9985.

alois31 and others added 2 commits February 16, 2024 14:24
Commit 83c067c changed `builtins.pathExists`
to resolve symlinks before checking for existence. Consequently, if the path
refers to a symlink itself, existence of the target of the symlink (instead of
the symlink itself) was checked. Restore the previous behavior by skipping
symlink resolution in the last component.

(cherry picked from commit 89e21ab)
@roberth roberth merged commit 98c22e8 into 2.20-maintenance Feb 16, 2024
9 checks passed
@edolstra edolstra deleted the backport-9985-to-2.20-maintenance branch March 29, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
with-tests Issues related to testing. PRs with tests have some priority
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants