Title: bpo-39899: ntpath.expanduser(): don't check the basename of the directory matches the username if we're requesting the current user's home directory by barneygale · Pull Request #25277 · python/cpython · GitHub
Open Graph Title: bpo-39899: ntpath.expanduser(): don't check the basename of the directory matches the username if we're requesting the current user's home directory by barneygale · Pull Request #25277 · python/cpython
X Title: bpo-39899: ntpath.expanduser(): don't check the basename of the directory matches the username if we're requesting the current user's home directory by barneygale · Pull Request #25277 · python/cpython
Description: Eryk Sun spotted that the implementation in #18841 shouldn't perform the basename check if we're querying for the current user's home directory via ~user. https://bugs.python.org/issue39899
Open Graph Description: Eryk Sun spotted that the implementation in #18841 shouldn't perform the basename check if we're querying for the current user's home directory via ~user. https://bugs.python.org/issue...
X Description: Eryk Sun spotted that the implementation in #18841 shouldn't perform the basename check if we're querying for the current user's home directory via ~user. https://bugs.pyth...
Opengraph URL: https://github.com/python/cpython/pull/25277
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:6cbef947-de95-e414-5efc-d8c435650a0a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ACAA:12EEDE:31532D:42F31B:6969AAB7 |
| html-safe-nonce | 928af62fb291ae57d7c88a349f429955825b522351805b0f1562064fdc154f4f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0FBOjEyRUVERTozMTUzMkQ6NDJGMzFCOjY5NjlBQUI3IiwidmlzaXRvcl9pZCI6Ijg0ODkwOTE0MjQ1MzgxNzYxODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 133c8795565240ba33883f512bc0ecbb1645cc93cd4ae5650ac1f9900f099ba5 |
| hovercard-subject-tag | pull_request:611485335 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/25277/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/fc400877b19af5e14588b4ab9e3b2836a7dc631f539856f4c77926dab2ad380f/python/cpython/pull/25277 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fc400877b19af5e14588b4ab9e3b2836a7dc631f539856f4c77926dab2ad380f/python/cpython/pull/25277 |
| og:image:alt | Eryk Sun spotted that the implementation in #18841 shouldn't perform the basename check if we're querying for the current user's home directory via ~user. https://bugs.python.org/issue... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | barneygale |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width