Disallow Basic Auth over HTTP on Unix - #6787
Merged
Travis Plunk (TravisEz13) merged 2 commits intoMay 2, 2018
Merged
Conversation
Dan Travison (dantraMSFT)
requested review from
Paul Higinbotham (PaulHigin) and
Mike Richmond (mirichmo)
as code owners
May 1, 2018 18:15
Mark Kraus (markekraus)
suggested changes
May 1, 2018
| <value>{0} authentication requires an explicit user name and password. Specify the user name and password by using the -Credential parameter and try the command again.</value> | ||
| </data> | ||
| <data name="BasicAuthOverHttpNotSupported"> | ||
| <value>Basic authentication is not supported over HTTP on Unix</value> |
Contributor
There was a problem hiding this comment.
Missing . after Unix.
Contributor
Author
There was a problem hiding this comment.
Fixed
| } | ||
| catch | ||
| { | ||
| $_.Exception | Should -BeOfType [System.Management.Automation.Remoting.PSRemotingTransportException] |
Collaborator
There was a problem hiding this comment.
We should use
$ex = { ... } | Should -Throw -PassThrou "FullyQualifiedErrorId"
$ex.Exception ...There was a problem hiding this comment.
Contributor
Author
There was a problem hiding this comment.
Fixed
Ilya (iSazonov)
approved these changes
May 2, 2018
Mark Kraus (markekraus)
approved these changes
May 2, 2018
Member
|
This is a user-facing change. Please file a doc issue in PowerShell-Docs |
8 tasks
Contributor
Author
|
Doc issue file: MicrosoftDocs/PowerShell-Docs#2394 |
Travis Plunk (TravisEz13)
approved these changes
May 2, 2018
11 tasks
Thatgfsj (Thatgfsj)
pushed a commit
to Thatgfsj-contribs/PowerShell
that referenced
this pull request
Aug 6, 2026
Disallow Basic Auth over HTTP on Unix Fix: PowerShell#6779
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Summary
Disallow Basic Auth over HTTP on Unix
Fix: #6779
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.[feature]if the change is significant or affects feature tests