Skip to content

fix(org): validate project login URLs before web login - W-23603165 - #7945

Draft
mshanemc wants to merge 10 commits into
developfrom
sm/W-23603165-validate-sfdcloginurl-from-sfdx-project
Draft

fix(org): validate project login URLs before web login - W-23603165#7945
mshanemc wants to merge 10 commits into
developfrom
sm/W-23603165-validate-sfdcloginurl-from-sfdx-project

Conversation

@mshanemc

@mshanemc mshanemc commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

  • Validates sfdcLoginUrl from sfdx-project.json before offering it as Project Default for web login.
  • Normalizes valid HTTP(S) URLs.
  • Omits malformed, unsupported-protocol, and shell-unsafe values and displays a localized warning.
  • Plan: .claude/plans/W-23603165.md
  • Test evidence: focused Jest coverage in packages/salesforcedx-vscode-org/test/jest/commands/auth/authParamsGatherer.test.ts covers valid HTTP(S) normalization, invalid-value rejection and warning, safe fallback selection, and absent configuration.

What issues does this PR fix or reference?

@W-23603165@

@mshanemc mshanemc changed the title fix(org): validate project login URL before web login - W-23603165 fix(org): validate project login URLs before web login - W-23603165 Aug 3, 2026
@mshanemc

mshanemc commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

/ai-auto approve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant