René's URL Explorer Experiment


Title: On Unix, PowerShell will not find files with backslashes in their names · Issue #3666 · PowerShell/PowerShell · GitHub

Open Graph Title: On Unix, PowerShell will not find files with backslashes in their names · Issue #3666 · PowerShell/PowerShell

X Title: On Unix, PowerShell will not find files with backslashes in their names · Issue #3666 · PowerShell/PowerShell

Description: This is similar to #3414, but involves only the backslash portion. The basis of the problem is premature normalization of paths. Path normalization happens quite early (and very frequently and in a great number of places in the PowerShel...

Open Graph Description: This is similar to #3414, but involves only the backslash portion. The basis of the problem is premature normalization of paths. Path normalization happens quite early (and very frequently and in a...

X Description: This is similar to #3414, but involves only the backslash portion. The basis of the problem is premature normalization of paths. Path normalization happens quite early (and very frequently and in a...

Opengraph URL: https://github.com/PowerShell/PowerShell/issues/3666

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"On Unix, PowerShell will not find files with backslashes in their names","articleBody":"This is similar to #3414, but involves only the backslash portion.\r\n\r\nThe basis of the problem is premature normalization of paths. Path normalization happens quite early (and *very* frequently and in a great number of places in the PowerShell code) while processing a command. Usually this happens before the path reaches its provider, and often that normalization is a brute-force change one slash to another mechanism. Thus a path such as `1\\2` on Unix is \"normalized\" to `1/2`, ensuring that the path will never be found.\r\n\r\nUsing `-LiteralPath` does not prevent the path normalization, so that is not a workaround.\r\n\r\nSteps to reproduce\r\n------------------\r\nFrom bash:\r\n```bash\r\n$ touch 'a\\b'\r\n```\r\nthen from PowerShell:\r\n```PowerShell\r\nPS> Remove-Item a\\b\r\n```\r\nor\r\n```PowerShell\r\nPS> Move-Item a\\b a-b\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\nThe file `a\\b` is deleted\r\n\r\nActual behavior\r\n---------------\r\n```\r\nRemove-Item : Cannot find path 'a/b' because it does not exist.\r\nAt line:1 char:1\r\n+ Remove-Item a\\b\r\n+ ~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : ObjectNotFound: (a/b:String) \r\n    [Remove-Item], ItemNotFoundException\r\n    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand\r\n```\r\n\r\nEnvironment data\r\n----------------\r\n\r\n```powershell\r\n> $PSVersionTable\r\nName                           Value                                                     \r\n----                           -----                                                     \r\nBuildVersion                   3.0.0.0                                                   \r\nCLRVersion                                                                               \r\nGitCommitId                    v6.0.0-alpha.18-38-g08e855556cff42274a5903799b826e78d0c...\r\nPSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                   \r\nPSEdition                      Core                                                      \r\nPSRemotingProtocolVersion      2.3                                                       \r\nPSVersion                      6.0.0-alpha                                               \r\nSerializationVersion           1.1.0.1                                                   \r\nWSManStackVersion              3.0                                                       \r\n```\r\n","author":{"url":"https://github.com/jeffbi","@type":"Person","name":"jeffbi"},"datePublished":"2017-05-01T00:30:26Z","url":"https://github.com/PowerShell/PowerShell/issues/3666"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:140c9738-834f-22e2-37ee-465123c1b183
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDA9C:24835A:284FAE:390ADD:6AFD74B6
html-safe-nonce2fe7faf566a41dfb34c37f5055a2a4014a4a01a913e22d6cfd52d5fc0d88f734
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTlDOjI0ODM1QToyODRGQUU6MzkwQUREOjZBRkQ3NEI2IiwidmlzaXRvcl9pZCI6IjgyODM1NTkxNDkwNDg3ODgxNTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac12dfb88e792319e714eea8c3a49fb96728811304580dbf8f7fb45d66051c3f09
hovercard-subject-tagissue:225366002
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/3666/issue_layout
twitter:imagehttps://opengraph.githubassets.com/aca442c599e8c68e5695cb9cf04eda4deac88988ea513c3026d72f6d12391d14/PowerShell/PowerShell/issues/3666
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/aca442c599e8c68e5695cb9cf04eda4deac88988ea513c3026d72f6d12391d14/PowerShell/PowerShell/issues/3666
og:image:altThis is similar to #3414, but involves only the backslash portion. The basis of the problem is premature normalization of paths. Path normalization happens quite early (and very frequently and in a...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejeffbi
hostnamegithub.com
expected-hostnamegithub.com
Nonee54006cf2b96d1ac260960edd10003132911469ccd1ec99c9803119fe2a4e032
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5be0bf2b8cf26f8897d31e6bc3c232d328b12a54
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/issues/3666#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F3666
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F3666
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/issues/3666
Reloadhttps://github.com/PowerShell/PowerShell/issues/3666
Reloadhttps://github.com/PowerShell/PowerShell/issues/3666
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests365 (365)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/3666
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/3666
On Unix, PowerShell will not find files with backslashes in their nameshttps://github.com/PowerShell/PowerShell/issues/3666#top
Area-FileSystem-Providerspecific to the FileSystem providerhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Area-FileSystem-Provider%22
Issue-BugIssue has been identified as a bug in the producthttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Bug%22
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
WG-Cmdletsgeneral cmdlet issueshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets%22
WG-Engine-Providersbuilt-in PowerShell providers such as FileSystem, Certificates, Registry, etc.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine-Providers%22
https://github.com/jeffbi
jeffbihttps://github.com/jeffbi
on May 1, 2017https://github.com/PowerShell/PowerShell/issues/3666#issue-225366002
#3414https://github.com/PowerShell/PowerShell/issues/3414
Nexthttps://github.com/PowerShell/PowerShell/issues/3666?timeline_page=1
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
WG-Engine-Providersbuilt-in PowerShell providers such as FileSystem, Certificates, Registry, etc.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine-Providers%22
on May 1, 2017https://github.com/PowerShell/PowerShell/issues/3666#event-1063654299
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on May 1, 2017https://github.com/PowerShell/PowerShell/issues/3666#event-1063654333
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on May 1, 2017https://github.com/PowerShell/PowerShell/issues/3666#issuecomment-298386685
https://github.com/jeffbi
jeffbihttps://github.com/jeffbi
on May 1, 2017https://github.com/PowerShell/PowerShell/issues/3666#issuecomment-298427450
Ilya (@iSazonov)https://github.com/iSazonov
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on May 2, 2017https://github.com/PowerShell/PowerShell/issues/3666#issuecomment-298493738
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on May 2, 2017https://github.com/PowerShell/PowerShell/issues/3666#issuecomment-298494161
https://github.com/jeffbi
jeffbihttps://github.com/jeffbi
on May 2, 2017https://github.com/PowerShell/PowerShell/issues/3666#issuecomment-298503531
Ilya (@iSazonov)https://github.com/iSazonov
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on May 2, 2017https://github.com/PowerShell/PowerShell/issues/3666#issuecomment-298619057
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on May 15, 2017https://github.com/PowerShell/PowerShell/issues/3666#event-1082768950
https://github.com/Serentty
Serenttyhttps://github.com/Serentty
on May 17, 2020https://github.com/PowerShell/PowerShell/issues/3666#issuecomment-629727648
Joey Aiello (joeyaiello)https://github.com/joeyaiello
7.1-Considerhttps://github.com/PowerShell/PowerShell/milestone/73
7.2-Considerhttps://github.com/PowerShell/PowerShell/milestone/93
on Jul 30, 2020https://github.com/PowerShell/PowerShell/issues/3666#event-3606079903
https://github.com/NicolaiLolansen
Nicolai Lolansen (NicolaiLolansen)https://github.com/NicolaiLolansen
on Oct 23, 2020https://github.com/PowerShell/PowerShell/issues/3666#issuecomment-715267277
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
7.2-Considerhttps://github.com/PowerShell/PowerShell/milestone/93
7.3-Considerhttps://github.com/PowerShell/PowerShell/milestone/103
on Dec 7, 2020https://github.com/PowerShell/PowerShell/issues/3666#event-4081222889
Ilya (iSazonov)https://github.com/iSazonov
Area-FileSystem-Providerspecific to the FileSystem providerhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Area-FileSystem-Provider%22
WG-Cmdlets-Managementhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets-Management%22
on Dec 1, 2021https://github.com/PowerShell/PowerShell/issues/3666#event-5696843545
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/3666#event-10978412109
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
7.3-Considerhttps://github.com/PowerShell/PowerShell/milestone/103
on Nov 23, 2023https://github.com/PowerShell/PowerShell/issues/3666#event-11048173363
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
completedhttps://github.com/PowerShell/PowerShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 23, 2023https://github.com/PowerShell/PowerShell/issues/3666#event-11048173411
https://github.com/Kuinox
Kuinoxhttps://github.com/Kuinox
on Mar 7, 2024https://github.com/PowerShell/PowerShell/issues/3666#issuecomment-1984004431
Steve Lee (@SteveL-MSFT)https://github.com/SteveL-MSFT
https://github.com/somescout
somescouthttps://github.com/somescout
on Jun 23, 2026https://github.com/PowerShell/PowerShell/issues/3666#issuecomment-4777200849
Ryan Yates (kilasuit)https://github.com/kilasuit
WG-Cmdletsgeneral cmdlet issueshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets%22
WG-Cmdlets-Managementhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets-Management%22
on Jul 18, 2026https://github.com/PowerShell/PowerShell/issues/3666#event-28146872715
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShell/issues/3666
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/3666
Area-FileSystem-Providerspecific to the FileSystem providerhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Area-FileSystem-Provider%22
Issue-BugIssue has been identified as a bug in the producthttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Bug%22
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
WG-Cmdletsgeneral cmdlet issueshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets%22
WG-Engine-Providersbuilt-in PowerShell providers such as FileSystem, Certificates, Registry, etc.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine-Providers%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.