Title: Fix path normalization · Issue #1115 · PowerShell/PowerShell · GitHub
Open Graph Title: Fix path normalization · Issue #1115 · PowerShell/PowerShell
X Title: Fix path normalization · Issue #1115 · PowerShell/PowerShell
Description: Per #1081, we have the known issue of not supporting a path with a literal backward slash for PowerShell cmdlets. This branch is work-in-progress that investigated PowerShell's path normalization. The summary is that it's a mess. PowerSh...
Open Graph Description: Per #1081, we have the known issue of not supporting a path with a literal backward slash for PowerShell cmdlets. This branch is work-in-progress that investigated PowerShell's path normalization. ...
X Description: Per #1081, we have the known issue of not supporting a path with a literal backward slash for PowerShell cmdlets. This branch is work-in-progress that investigated PowerShell's path normalizati...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/1115
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fix path normalization","articleBody":"Per #1081, we have the known issue of not supporting a path with a literal backward slash for PowerShell cmdlets. This [branch](https://github.com/PowerShell/PowerShell/tree/andschwa/path-normalization) is work-in-progress that investigated PowerShell's path normalization.\n\nThe summary is that it's a mess. PowerShell has half a dozen different path normalization functions (all essentially just blindly replacing `/` with `\\`, or the reverse on Linux), another dozen locations where these are ignored and a `path.Replace()` is done, and completely separate code to handle escape character parsing (which is tied into the globbing system); and all of this is spread across several systems.\n\nMy WIP branch removes all the normalization functions and adds some (dumb, so far) logic to handle a path with a backtick escaped backward slash (but it needs to be improved to handle backtick escaped backticks). Normalization of all backticks can only happen once, and we need to figure out how to make this happen, because parsing globs must be handled around the same time (since glob characters may be escaped). As of now, the WIP does allow escaping a backward slash with a backtick.\n\nThis issue is an extension of #570 and #954.\n","author":{"url":"https://github.com/andyleejordan","@type":"Person","name":"andyleejordan"},"datePublished":"2016-06-15T20:03:02Z","url":"https://github.com/PowerShell/PowerShell/issues/1115"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:e63f7d04-ad9e-e516-94bc-d7d5628d8ee2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB4C:1D04C8:27C0FE:37B545:6AFD72E8 |
| html-safe-nonce | c0074da287eb79c5c021ee85aa44b81f629be594f79de5dee67d0d2bb20bbdf3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjRDOjFEMDRDODoyN0MwRkU6MzdCNTQ1OjZBRkQ3MkU4IiwidmlzaXRvcl9pZCI6IjQ0OTg2ODYzMTk3MjI4NTMwOTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 927e6d9eefecd520f2fcbdf283541443852b2d30017dad77d9a59e8d2d19452b |
| hovercard-subject-tag | issue:160510923 |
| 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/1115/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5c1ba0bb2020f3d872c401c9798a6f716146c13448df0db789f18f1e76677868/PowerShell/PowerShell/issues/1115 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5c1ba0bb2020f3d872c401c9798a6f716146c13448df0db789f18f1e76677868/PowerShell/PowerShell/issues/1115 |
| og:image:alt | Per #1081, we have the known issue of not supporting a path with a literal backward slash for PowerShell cmdlets. This branch is work-in-progress that investigated PowerShell's path normalization. ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andyleejordan |
| hostname | github.com |
| expected-hostname | github.com |
| None | e54006cf2b96d1ac260960edd10003132911469ccd1ec99c9803119fe2a4e032 |
| 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 | 5be0bf2b8cf26f8897d31e6bc3c232d328b12a54 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width