Title: Invoke-WebRequest resolves host names (URIs without http:// or https://) inconsistently · Issue #8935 · PowerShell/PowerShell · GitHub
Open Graph Title: Invoke-WebRequest resolves host names (URIs without http:// or https://) inconsistently · Issue #8935 · PowerShell/PowerShell
X Title: Invoke-WebRequest resolves host names (URIs without http:// or https://) inconsistently · Issue #8935 · PowerShell/PowerShell
Description: Steps to reproduce IWR "unifiedpowerusa.com" Expected behavior IWR "http://unifiedpowerusa.com" Actual behavior IWR : Specified argument was out of the range of valid values. Parameter name: baseUri At line:1 char:1 + iwr "unifiedpowerus...
Open Graph Description: Steps to reproduce IWR "unifiedpowerusa.com" Expected behavior IWR "http://unifiedpowerusa.com" Actual behavior IWR : Specified argument was out of the range of valid values. Parameter name: baseUr...
X Description: Steps to reproduce IWR "unifiedpowerusa.com" Expected behavior IWR "http://unifiedpowerusa.com" Actual behavior IWR : Specified argument was out of the range of valid values. Pa...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/8935
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Invoke-WebRequest resolves host names (URIs without http:// or https://) inconsistently","articleBody":"# Steps to reproduce\r\n\r\n```powershell\r\nIWR \"unifiedpowerusa.com\"\r\n```\r\n\r\n# Expected behavior\r\n\r\n```\r\nIWR \"http://unifiedpowerusa.com\"\r\n```\r\n\r\n# Actual behavior\r\n\r\n```\r\nIWR : Specified argument was out of the range of valid values.\r\nParameter name: baseUri\r\nAt line:1 char:1\r\n+ iwr \"unifiedpowerusa.com\"\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~\r\n+ CategoryInfo : NotSpecified: (:) [Invoke-WebRequest], ArgumentOutOfRangeException\r\n+ FullyQualifiedErrorId : System.ArgumentOutOfRangeException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand\r\n```\r\n\r\n# Environment data\r\n\r\n\u003c!-- provide the output of $PSVersionTable --\u003e\r\n\r\n```\r\nName Value\r\n---- -----\r\nPSVersion 6.1.2\r\nPSEdition Core\r\nGitCommitId 6.1.2\r\nOS Microsoft Windows 10.0.17134\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\n","author":{"url":"https://github.com/burkasaurusrex","@type":"Person","name":"burkasaurusrex"},"datePublished":"2019-02-21T03:21:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/8935/PowerShell/issues/8935"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:68698cf3-aa6e-50c0-07b0-20af6d16d815 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB78:C60D:B40EC3:106BE97:6A574A7A |
| html-safe-nonce | 01ab8833ec54e245fb07aed16e0bcbf63deb669f277a33e9d06876417e24ed31 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjc4OkM2MEQ6QjQwRUMzOjEwNkJFOTc6NkE1NzRBN0EiLCJ2aXNpdG9yX2lkIjoiODE4NTE5NzE3ODExOTQ3Mzc4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 43576dab9eddc92be385fa7bfdf8ffc99d7901914bdf1b71ea363830f3b678d2 |
| hovercard-subject-tag | issue:412730519 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/8935/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3459cc11917bced680bcb163395e6a43b1e72f779e6440fccab11353bf8477f2/PowerShell/PowerShell/issues/8935 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3459cc11917bced680bcb163395e6a43b1e72f779e6440fccab11353bf8477f2/PowerShell/PowerShell/issues/8935 |
| og:image:alt | Steps to reproduce IWR "unifiedpowerusa.com" Expected behavior IWR "http://unifiedpowerusa.com" Actual behavior IWR : Specified argument was out of the range of valid values. Parameter name: baseUr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | burkasaurusrex |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 602250ea3b6dd8302a7220ef98adb828dbc807e4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width