Skip to content

Support non-ASCII user name in posixpath.expanduser() #117503

Closed

Description

@serhiy-storchaka

Bug report

Currently posixpath.expanduser() only supports ASCII user names in bytes paths. It supports non-ASCII user names in string paths. ntpath.expanduser() also "supports" non-ASCII user names (although this support is only a guess, but non-ASCII user names are not discriminated).

So I consider is as a bug.

Linked PRs

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    3.11only security fixes
    3.12only security fixes
    3.13only security fixes
    on Apr 3, 2024
  2. added a commit that references this issue on Apr 3, 2024
  3. added 2 commits that reference this issue on Apr 17, 2024
  4. added a commit that references this issue on Apr 17, 2024
  5. added 3 commits that reference this issue on Apr 17, 2024
  6. added a commit that references this issue on Apr 18, 2024
  7. added a commit that references this issue on Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixes3.13only security fixestype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions