Build the relative URI for links from the response in Invoke-WebRequest#19092
Conversation
|
@CarloToso Please add new test. |
test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1
Show resolved
Hide resolved
test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1
Outdated
Show resolved
Hide resolved
test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1
Outdated
Show resolved
Hide resolved
…onse.RequestMessage.RequestUri
|
| return bodyBuilder.ToString(); | ||
| } | ||
|
|
||
|
|
iSazonov
left a comment
There was a problem hiding this comment.
@CarloToso Please look CI fails on Windows.
…ved-in-response.RequestMessage.RequestUri
|
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
|
@iSazonov it seem it was an unrelated error |
|
🎉 Handy links: |
PR Summary
Ignore the user provided uri and use the URI resolved in response.RequestMessage.RequestUri
PR Context
Fix #8935 proposed by @markekraus
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.(which runs in a different PS Host).