Don't write possible secrets to verbose stream for web cmdlets (#14788)
This commit is contained in:
parent
11a5d940c4
commit
0fffdf58ab
|
@ -1508,7 +1508,6 @@ namespace Microsoft.PowerShell.Commands
|
|||
string reqVerboseMsg = string.Format(CultureInfo.CurrentCulture,
|
||||
WebCmdletStrings.WebMethodInvocationVerboseMsg,
|
||||
request.Method,
|
||||
request.RequestUri,
|
||||
requestContentLength);
|
||||
WriteVerbose(reqVerboseMsg);
|
||||
|
||||
|
|
|
@ -250,7 +250,7 @@
|
|||
<value>Following rel link {0}</value>
|
||||
</data>
|
||||
<data name="WebMethodInvocationVerboseMsg" xml:space="preserve">
|
||||
<value>{0} {1} with {2}-byte payload</value>
|
||||
<value>{0} with {1}-byte payload</value>
|
||||
</data>
|
||||
<data name="WebMethodResumeFailedVerboseMsg" xml:space="preserve">
|
||||
<value>The remote server indicated it could not resume downloading. The local file will be overwritten.</value>
|
||||
|
|
Loading…
Reference in a new issue