René's URL Explorer Experiment


Title: Make Resolve-Path -Relative return useful path when $PWD and -Path is on different drive by kwkam · Pull Request #5740 · PowerShell/PowerShell · GitHub

Open Graph Title: Make Resolve-Path -Relative return useful path when $PWD and -Path is on different drive by kwkam · Pull Request #5740 · PowerShell/PowerShell

X Title: Make Resolve-Path -Relative return useful path when $PWD and -Path is on different drive by kwkam · Pull Request #5740 · PowerShell/PowerShell

Description: PowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.

Open Graph Description: PR Summary Check to make sure the result path is relative before inserting "./" Do not return "(../)*path" that would go outside of current root directory PR Checklist Note: Ple...

X Description: PR Summary Check to make sure the result path is relative before inserting "./" Do not return "(../)*path" that would go outside of current root directory PR Che...

Opengraph URL: https://github.com/PowerShell/PowerShell/pull/5740

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:b3b069f1-2384-9b80-a7d7-867c6519a20f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9DF6:3AEA05:32BD8:46118:6A5530F4
html-safe-nonced811519bc184cfb9c6b7e988d65722f7fd96378452acdc9ec3b6b6f6e4de4c48
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REY2OjNBRUEwNTozMkJEODo0NjExODo2QTU1MzBGNCIsInZpc2l0b3JfaWQiOiI3NjE0Mzg1MjY5ODgyODI2OTk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac39a7a87bdd282f1fbcadca04499919903d00a7b85526f43cbdba2a73ffcc3456
hovercard-subject-tagpull_request:159891016
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/PowerShell/PowerShell/pull/5740/commits
twitter:imagehttps://opengraph.githubassets.com/b2e8d5b72366773000056019c904d96d93d339f811b276a8cd2a9a3e4379dc75/PowerShell/PowerShell/pull/5740
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b2e8d5b72366773000056019c904d96d93d339f811b276a8cd2a9a3e4379dc75/PowerShell/PowerShell/pull/5740
og:image:altPR Summary Check to make sure the result path is relative before inserting "./" Do not return "(../)*path" that would go outside of current root directory PR Checklist Note: Ple...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekwkam
hostnamegithub.com
expected-hostnamegithub.com
Nonefbd8fce4d63ac394c5405faa20aa50d5c9e56b979ac43ee1b26f8e7c47c4cd89
turbo-cache-controlno-cache
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
releasecf96660b44878f418b09d3d6ecde00ad62332910
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/5740/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F5740%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F5740%2Fcommits
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/pull/5740/commits
Reloadhttps://github.com/PowerShell/PowerShell/pull/5740/commits
Reloadhttps://github.com/PowerShell/PowerShell/pull/5740/commits
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/5740/commits
PowerShell https://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Notifications https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Fork 8.4k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Star 54.4k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Code https://github.com/PowerShell/PowerShell
Issues 1.2k https://github.com/PowerShell/PowerShell/issues
Pull requests 287 https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects https://github.com/PowerShell/PowerShell/projects
Security and quality 3 https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
Code https://github.com/PowerShell/PowerShell
Issues https://github.com/PowerShell/PowerShell/issues
Pull requests https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects https://github.com/PowerShell/PowerShell/projects
Security and quality https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
adityapatwardhanhttps://github.com/adityapatwardhan
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
kwkam:rvpa_relathttps://github.com/kwkam/PowerShell/tree/rvpa_relat
Conversationhttps://github.com/PowerShell/PowerShell/pull/5740
Commits11 (11)https://github.com/PowerShell/PowerShell/pull/5740/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/5740/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/5740/files
Make Resolve-Path -Relative return useful path when $PWD and -Path is on different drivehttps://github.com/PowerShell/PowerShell/pull/5740/commits#top
adityapatwardhanhttps://github.com/adityapatwardhan
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
kwkam:rvpa_relathttps://github.com/kwkam/PowerShell/tree/rvpa_relat
commands: make rvpa -relative do not return ./absolute_pathhttps://github.com/PowerShell/PowerShell/pull/5740/commits/6cc21cb9bde2a0baa2db43b9d33c8faf342d4718
https://github.com/kwkam
kwkamhttps://github.com/PowerShell/PowerShell/commits?author=kwkam
6cc21cbhttps://github.com/PowerShell/PowerShell/pull/5740/commits/6cc21cb9bde2a0baa2db43b9d33c8faf342d4718
https://github.com/PowerShell/PowerShell/tree/6cc21cb9bde2a0baa2db43b9d33c8faf342d4718
[Feature] add testhttps://github.com/PowerShell/PowerShell/pull/5740/commits/8ee29ba081b6c72850ee636a261304d909e8d4fb
https://github.com/kwkam
kwkamhttps://github.com/PowerShell/PowerShell/commits?author=kwkam
8ee29bahttps://github.com/PowerShell/PowerShell/pull/5740/commits/8ee29ba081b6c72850ee636a261304d909e8d4fb
https://github.com/PowerShell/PowerShell/tree/8ee29ba081b6c72850ee636a261304d909e8d4fb
fixup! [Feature] add testhttps://github.com/PowerShell/PowerShell/pull/5740/commits/2529663a006a39e74e3f026fc0b2a483ff0f7276
https://github.com/kwkam
kwkamhttps://github.com/PowerShell/PowerShell/commits?author=kwkam
2529663https://github.com/PowerShell/PowerShell/pull/5740/commits/2529663a006a39e74e3f026fc0b2a483ff0f7276
https://github.com/PowerShell/PowerShell/tree/2529663a006a39e74e3f026fc0b2a483ff0f7276
only return relative path inside current roothttps://github.com/PowerShell/PowerShell/pull/5740/commits/e30fbf52d9936eb4a33e52c3adb6133b77f44d9a
https://github.com/kwkam
kwkamhttps://github.com/PowerShell/PowerShell/commits?author=kwkam
e30fbf5https://github.com/PowerShell/PowerShell/pull/5740/commits/e30fbf52d9936eb4a33e52c3adb6133b77f44d9a
https://github.com/PowerShell/PowerShell/tree/e30fbf52d9936eb4a33e52c3adb6133b77f44d9a
change testhttps://github.com/PowerShell/PowerShell/pull/5740/commits/ca6f9771ee10b97cbd514041e865cb6fea0b569e
https://github.com/kwkam
kwkamhttps://github.com/PowerShell/PowerShell/commits?author=kwkam
ca6f977https://github.com/PowerShell/PowerShell/pull/5740/commits/ca6f9771ee10b97cbd514041e865cb6fea0b569e
https://github.com/PowerShell/PowerShell/tree/ca6f9771ee10b97cbd514041e865cb6fea0b569e
[Feature] update testhttps://github.com/PowerShell/PowerShell/pull/5740/commits/095ccd5027ba239914253571a03ffd05e3cbf0ef
https://github.com/kwkam
kwkamhttps://github.com/PowerShell/PowerShell/commits?author=kwkam
095ccd5https://github.com/PowerShell/PowerShell/pull/5740/commits/095ccd5027ba239914253571a03ffd05e3cbf0ef
https://github.com/PowerShell/PowerShell/tree/095ccd5027ba239914253571a03ffd05e3cbf0ef
[feature] remove drive after testhttps://github.com/PowerShell/PowerShell/pull/5740/commits/d7d18d916c2542e8e45a5a8d5accf958a8be21eb
https://github.com/kwkam
kwkamhttps://github.com/PowerShell/PowerShell/commits?author=kwkam
d7d18d9https://github.com/PowerShell/PowerShell/pull/5740/commits/d7d18d916c2542e8e45a5a8d5accf958a8be21eb
https://github.com/PowerShell/PowerShell/tree/d7d18d916c2542e8e45a5a8d5accf958a8be21eb
[feature] use named parametershttps://github.com/PowerShell/PowerShell/pull/5740/commits/ee4faa0264faf423e6bc9bb234c10d4c860cbb23
https://github.com/kwkam
kwkamhttps://github.com/PowerShell/PowerShell/commits?author=kwkam
ee4faa0https://github.com/PowerShell/PowerShell/pull/5740/commits/ee4faa0264faf423e6bc9bb234c10d4c860cbb23
https://github.com/PowerShell/PowerShell/tree/ee4faa0264faf423e6bc9bb234c10d4c860cbb23
[feature] fix parameter and testhttps://github.com/PowerShell/PowerShell/pull/5740/commits/9d6c156a8c9c7e56771f79ee984a1d28f1c79b60
https://github.com/kwkam
kwkamhttps://github.com/PowerShell/PowerShell/commits?author=kwkam
9d6c156https://github.com/PowerShell/PowerShell/pull/5740/commits/9d6c156a8c9c7e56771f79ee984a1d28f1c79b60
https://github.com/PowerShell/PowerShell/tree/9d6c156a8c9c7e56771f79ee984a1d28f1c79b60
[Feature] More fixes for testhttps://github.com/PowerShell/PowerShell/pull/5740/commits/dd76ce8387f6034bee8363221913215ef0d487cf
https://github.com/kwkam
kwkamhttps://github.com/PowerShell/PowerShell/commits?author=kwkam
dd76ce8https://github.com/PowerShell/PowerShell/pull/5740/commits/dd76ce8387f6034bee8363221913215ef0d487cf
https://github.com/PowerShell/PowerShell/tree/dd76ce8387f6034bee8363221913215ef0d487cf
[Feature] Check if Drive is nullhttps://github.com/PowerShell/PowerShell/pull/5740/commits/4c5d4509693d7e21224625d0ecdabf1752544cd8
https://github.com/kwkam
kwkamhttps://github.com/PowerShell/PowerShell/commits?author=kwkam
4c5d450https://github.com/PowerShell/PowerShell/pull/5740/commits/4c5d4509693d7e21224625d0ecdabf1752544cd8
https://github.com/PowerShell/PowerShell/tree/4c5d4509693d7e21224625d0ecdabf1752544cd8
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.