Skip to content

Add null host name check in WSMan - #11288

Merged
Andrew (anmenaga) merged 3 commits into
PowerShell:masterfrom
iSazonov:fix-null-in-wsman
Dec 9, 2019
Merged

Andrew (anmenaga) merged 3 commits into
PowerShell:masterfrom
iSazonov:fix-null-in-wsman

Conversation

@iSazonov

@iSazonov Ilya (iSazonov) commented Dec 7, 2019 •

Copy link
Copy Markdown
Collaborator

PR Summary

Add null check for host name before path normalization.

PR Context

Fix #11278

PR Checklist

Comment thread tools/releaseBuild/setReleaseTag.ps1 Resolved
@ghost ghost added Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept and removed Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept labels Dec 7, 2019

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.

LGTM

@anmenaga

Copy link
Copy Markdown

CodeFactor issues are false positives.

@anmenaga
Andrew (anmenaga) merged commit 12bf530 into PowerShell:master Dec 9, 2019
@iSazonov
Ilya (iSazonov) deleted the fix-null-in-wsman branch December 9, 2019 19:16
@ghost

Copy link
Copy Markdown

🎉v7.0.0-rc.2 has been released which incorporates this pull request.:tada:

Handy links:

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.

WSMan provider throws exception for non-existent path with -PathType Container

7 participants