Title: [release/v7.6.2] Fix checks for local user config file paths by daxian-dbw · Pull Request #27432 · PowerShell/PowerShell · GitHub
Open Graph Title: [release/v7.6.2] Fix checks for local user config file paths by daxian-dbw · Pull Request #27432 · PowerShell/PowerShell
X Title: [release/v7.6.2] Fix checks for local user config file paths by daxian-dbw · Pull Request #27432 · PowerShell/PowerShell
Description: Backport of #26269 to release/v7.6.2 Triggered by @daxian-dbw on behalf of @SeeminglyScience Original CL Label: CL-Engine /cc @PowerShell/powershell-maintainers Impact REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected. Tooling Impact Required tooling change Optional tooling change (include reasoning) Customer Impact Customer reported Found internally Fixes incorrect config file path resolution for the SYSTEM account and handles empty/null paths from GetFolderPath, preventing potential issues loading PowerShell user config files. Regression REQUIRED: Check exactly one box. Yes No This is not a regression. Testing Verified via the original PR. The change uses DoNotVerify option with Environment.GetFolderPath and skips loading when an empty/null/whitespace path is returned. No new tests were added as the scenario can only be tested interactively. Risk REQUIRED: Check exactly one box. High Medium Low Targeted fix to config path resolution logic. Only affects edge cases (SYSTEM account path and empty GetFolderPath results). No behavioral change for standard users.
Open Graph Description: Backport of #26269 to release/v7.6.2 Triggered by @daxian-dbw on behalf of @SeeminglyScience Original CL Label: CL-Engine /cc @PowerShell/powershell-maintainers Impact REQUIRED: Choose either Tool...
X Description: Backport of #26269 to release/v7.6.2 Triggered by @daxian-dbw on behalf of @SeeminglyScience Original CL Label: CL-Engine /cc @PowerShell/powershell-maintainers Impact REQUIRED: Choose either Tool...
Opengraph URL: https://github.com/PowerShell/PowerShell/pull/27432
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f5ea7b0e-bd17-d6a7-c94b-6c3fd2935026 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9520:3E84B7:215DB8:307002:6A58AAB7 |
| html-safe-nonce | fb4f332a61fadc4046244dacf1af7d7efc404fe1eb8e1d08927ef27d4b95e54c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTIwOjNFODRCNzoyMTVEQjg6MzA3MDAyOjZBNThBQUI3IiwidmlzaXRvcl9pZCI6IjQxOTU3MTc0MjM5ODE3MDE4MTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d35389ddf514d4450aa0475cf50acfd0ed2ad9d6a044d8a63117a488e93f57fa |
| hovercard-subject-tag | pull_request:3678757363 |
| 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/PowerShell/PowerShell/pull/27432/files |
| twitter:image | https://avatars.githubusercontent.com/u/127450?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/127450?s=400&v=4 |
| og:image:alt | Backport of #26269 to release/v7.6.2 Triggered by @daxian-dbw on behalf of @SeeminglyScience Original CL Label: CL-Engine /cc @PowerShell/powershell-maintainers Impact REQUIRED: Choose either Tool... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width