Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

Fix Resolve-Path -Relative output for dot-prefixed names - #28087

Merged
Dongbo Wang (daxian-dbw) merged 4 commits into
PowerShell:masterfrom
daxian-dbw:rvpa-relative-dot
Oct 9, 2026
Merged

Dongbo Wang (daxian-dbw) merged 4 commits into
PowerShell:masterfrom
daxian-dbw:rvpa-relative-dot

Conversation

@daxian-dbw

@daxian-dbw Dongbo Wang (daxian-dbw) commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Summary

Fix Resolve-Path -Relative output for dot-prefixed names.

  • Distinguish explicit dot-relative segments from path names that begin with a dot
  • Prepend the current-directory marker for dot-prefixed relative paths
  • Add cross-platform regression coverage

Before the fix

PS:138> dir .abc, delme | Resolve-Path -Relative
.abc\abc.md
.\delme\delme.md
.\delme\loc.ps1
.\delme\locItems.txt

After the fix

PS Q:\yard> dir .abc, delme | Resolve-Path -Relative
.\.abc\abc.md
.\delme\delme.md
.\delme\loc.ps1
.\delme\locItems.txt

PR Checklist

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 24, 2026 05:19
@daxian-dbw
Dongbo Wang (daxian-dbw) requested a review from a team as a code owner September 24, 2026 05:19
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@daxian-dbw Dongbo Wang (daxian-dbw) changed the title Fix Resolve-Path output for dot-prefixed names Fix Resolve-Path -Relative output for dot-prefixed names Sep 24, 2026
@daxian-dbw Dongbo Wang (daxian-dbw) added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Sep 24, 2026

This comment was marked as outdated.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

This comment was marked as outdated.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

Only a minor test-coverage nit remains; no blocking issues were identified.

Review effort: Lite
Findings: None

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@microsoft-github-policy-service microsoft-github-policy-service Bot added the Review - Needed The PR is being reviewed label Oct 6, 2026
@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days.
Maintainer, please provide feedback and/or mark it as Waiting on Author

@daxian-dbw
Dongbo Wang (daxian-dbw) merged commit 373f6a7 into PowerShell:master Oct 9, 2026
36 of 37 checks passed
@daxian-dbw
Dongbo Wang (daxian-dbw) deleted the rvpa-relative-dot branch October 9, 2026 17:21
@daxian-dbw Dongbo Wang (daxian-dbw) removed the Review - Needed The PR is being reviewed label Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants