Title: Unwanted change in tab completion in >= 7.4.0-preview.5 · Issue #20413 · PowerShell/PowerShell · GitHub
Open Graph Title: Unwanted change in tab completion in >= 7.4.0-preview.5 · Issue #20413 · PowerShell/PowerShell
X Title: Unwanted change in tab completion in >= 7.4.0-preview.5 · Issue #20413 · PowerShell/PowerShell
Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerShell 5.1 and PowerShell. Steps to reprodu...
Open Graph Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
X Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/20413
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unwanted change in tab completion in \u003e= 7.4.0-preview.5","articleBody":"### Prerequisites\r\n\r\n- [X] Write a descriptive title.\r\n- [X] Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- [X] Search the existing issues.\r\n- [X] Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- [X] Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).\r\n\r\n### Steps to reproduce\r\n\r\nWith 7.4.0-preview.6 (using PSReadLine 2.3.3 FWIW; also in 7.4.0-preview.5) I get this unexpected result when entering `//pnjnas/pi/jee\u003cTAB\u003e`:\r\n\r\n````\r\n//pnjnas/pi/\\jeedom\\\r\n````\r\n\r\nThat kind of path causes a number of failures with most of my scripts.\r\n\r\nWith 7.3.7 or 7.4.0-preview.4, the same action results in a usable expansion:\r\n\r\n````\r\n\\\\pnjnas\\pi\\jeedom\\\r\n````\r\n\r\n\r\n\r\n\r\n### Expected behavior\r\n\r\nExpansion should either expand everything with forward slashes (to match the \"input style\") or convert all slashes to backslashes (probably the latter for backwards compatibility / consistency with the Windows conventions).\r\n```console\r\n\\\\pnjnas\\pi\\jeedom\\\r\n```\r\n\r\n\r\n### Actual behavior\r\n\r\nthe `//server/share` part of the pathspec is not converted to \"Windows canonical form with backslashes\":\r\n\r\n```console\r\n//pnjnas/pi/\\jeedom\\\r\n```\r\n\r\n\r\n### Error details\r\n\r\n_No response_\r\n\r\n### Environment data\r\n\r\n```powershell\r\nPSVersion 7.4.0-preview.6\r\nPSEdition Core\r\nGitCommitId 7.4.0-preview.6\r\nOS Microsoft Windows 10.0.22621\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\n\r\n\r\n### Visuals\r\n\r\n_No response_","author":{"url":"https://github.com/sba923","@type":"Person","name":"sba923"},"datePublished":"2023-10-01T12:47:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/20413/PowerShell/issues/20413"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d0066283-03ca-07d2-e825-84c70197578e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8754:43A60:EE06D8:1427443:6A5567BD |
| html-safe-nonce | 54cbc5826949009fd41cf2a4a6861a33049dfce6c3a8136bc74a01904e4ce07a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzU0OjQzQTYwOkVFMDZEODoxNDI3NDQzOjZBNTU2N0JEIiwidmlzaXRvcl9pZCI6IjE3NzMzMDQzNzY2NzQ1NzYzMTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | adaf2fac532ed6194b55f6a915f114a7406483e9beba9848a5843a1981bcbded |
| hovercard-subject-tag | issue:1920750097 |
| github-keyboard-shortcuts | repository,issues,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/issues/show/PowerShell/PowerShell/20413/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3970b57912893440e7e1366223f4b0d1f1561fe4f02c9eba1deffb2ca2a0e540/PowerShell/PowerShell/issues/20413 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3970b57912893440e7e1366223f4b0d1f1561fe4f02c9eba1deffb2ca2a0e540/PowerShell/PowerShell/issues/20413 |
| og:image:alt | Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sba923 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8201d0b7bc32164c4662de52242e463a356df543 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width