Title: path completion of unc paths with spaces fails to quote resulting path · Issue #7569 · PowerShell/PowerShell · GitHub
Open Graph Title: path completion of unc paths with spaces fails to quote resulting path · Issue #7569 · PowerShell/PowerShell
X Title: path completion of unc paths with spaces fails to quote resulting path · Issue #7569 · PowerShell/PowerShell
Description: Steps to reproduce Start a path to a command, in this case, cd \\svr\ Press CTRL-SPACE (<-EDITED) to bring up completion suggestions, which list all the shares on '\\svr\'. Select a share that contains a space (notice the highlight fails...
Open Graph Description: Steps to reproduce Start a path to a command, in this case, cd \\svr\ Press CTRL-SPACE (<-EDITED) to bring up completion suggestions, which list all the shares on '\\svr\'. Select a share that cont...
X Description: Steps to reproduce Start a path to a command, in this case, cd \\svr\ Press CTRL-SPACE (<-EDITED) to bring up completion suggestions, which list all the shares on '\\svr\'. Select a shar...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/7569
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"path completion of unc paths with spaces fails to quote resulting path","articleBody":"Steps to reproduce\r\n------------------\r\n\r\nStart a path to a command, in this case,\r\n\r\n`cd \\\\svr\\`\r\n\r\nPress CTRL-SPACE (\u003c-EDITED) to bring up completion suggestions, which list all the shares on '\\\\\\svr\\\\'.\r\n\r\nSelect a share that contains a space (notice the highlight fails to clear off entries as you move through the list). \r\n\r\nExpected behavior\r\n-----------------\r\n\r\nquotes (') should be added around the UNC path which contains characters that need escaped or quoted.\r\n\r\nActual behavior\r\n---------------\r\n\r\nImmediately you will notice there is no quote characters being inserted into the completion, and this prevents completing the next step in the path.\r\n\r\nSide note, Windows PowerShell 5.1 seems to have the same problem with UNC paths, but at least the highlight works correctly.\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable --\u003e\r\n\r\n```powershell\r\n\u003e $PSVersionTable\r\nName Value\r\n---- -----\r\nPSVersion 6.0.3\r\nPSEdition Core\r\nGitCommitId v6.0.3\r\nOS Microsoft Windows 10.0.17134\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","author":{"url":"https://github.com/msftrncs","@type":"Person","name":"msftrncs"},"datePublished":"2018-08-19T18:43:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/7569/PowerShell/issues/7569"}
| 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:6a48f23c-7f8a-a007-71ab-7fca1bb9f8d6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BE7C:19D388:1260612:1AF77AA:6A5621CC |
| html-safe-nonce | 47f51941e94348a35265899e69e0ee0dee3c257933d8c9b68761783101ee72cb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTdDOjE5RDM4ODoxMjYwNjEyOjFBRjc3QUE6NkE1NjIxQ0MiLCJ2aXNpdG9yX2lkIjoiNTE1MDU0NDA0NjA3NTU1MjIwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f9b4b4cf6304266a77e14801ce95703841aa64f413dd1eb1ccc690b7ad303bc3 |
| hovercard-subject-tag | issue:351924690 |
| 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/7569/issue_layout |
| twitter:image | https://opengraph.githubassets.com/379512b4dc12d71a69fb3de5137fffde5b2af59750affddb4fb799afad4aa77a/PowerShell/PowerShell/issues/7569 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/379512b4dc12d71a69fb3de5137fffde5b2af59750affddb4fb799afad4aa77a/PowerShell/PowerShell/issues/7569 |
| og:image:alt | Steps to reproduce Start a path to a command, in this case, cd \\svr\ Press CTRL-SPACE (<-EDITED) to bring up completion suggestions, which list all the shares on '\\svr\'. Select a share that cont... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | msftrncs |
| hostname | github.com |
| expected-hostname | github.com |
| None | eeb71977be324ce2bc7c4afd597296b8e3527d8922ad94632edd7a7296f8031b |
| 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 | 3e7957744c8a44d05ff1e464dc5d119e60b98fae |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width