{"action":"closed","issue":{"url":"https://api.github.com/repos/guzzle/guzzle/issues/2241","repository_url":"https://api.github.com/repos/guzzle/guzzle","labels_url":"https://api.github.com/repos/guzzle/guzzle/issues/2241/labels{/name}","comments_url":"https://api.github.com/repos/guzzle/guzzle/issues/2241/comments","events_url":"https://api.github.com/repos/guzzle/guzzle/issues/2241/events","html_url":"https://github.com/guzzle/guzzle/issues/2241","id":394933148,"node_id":"MDU6SXNzdWUzOTQ5MzMxNDg=","number":2241,"title":"\"https:/\" to \"https://\"","user":{"login":"wangyuanhui","id":8945348,"node_id":"MDQ6VXNlcjg5NDUzNDg=","avatar_url":"https://avatars2.githubusercontent.com/u/8945348?v=4","gravatar_id":"","url":"https://api.github.com/users/wangyuanhui","html_url":"https://github.com/wangyuanhui","followers_url":"https://api.github.com/users/wangyuanhui/followers","following_url":"https://api.github.com/users/wangyuanhui/following{/other_user}","gists_url":"https://api.github.com/users/wangyuanhui/gists{/gist_id}","starred_url":"https://api.github.com/users/wangyuanhui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangyuanhui/subscriptions","organizations_url":"https://api.github.com/users/wangyuanhui/orgs","repos_url":"https://api.github.com/users/wangyuanhui/repos","events_url":"https://api.github.com/users/wangyuanhui/events{/privacy}","received_events_url":"https://api.github.com/users/wangyuanhui/received_events","type":"User","site_admin":false},"labels":[{"id":222558151,"node_id":"MDU6TGFiZWwyMjI1NTgxNTE=","url":"https://api.github.com/repos/guzzle/guzzle/labels/blocked/needs-more-information","name":"blocked/needs-more-information","color":"f7c6c7","default":false},{"id":241373121,"node_id":"MDU6TGFiZWwyNDEzNzMxMjE=","url":"https://api.github.com/repos/guzzle/guzzle/labels/blocked/needs-response","name":"blocked/needs-response","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-12-31T05:54:20Z","updated_at":"2019-10-20T07:26:29Z","closed_at":"2019-10-20T07:26:29Z","author_association":"NONE","body":"**Description**  \r\n<!-- A clear and concise description of the new feature. -->\r\n\r\nwhen I use guzzle, I write url \"http:/xxx\" by mistake, and magically everything works well. I tried http:/some-website on postman, and it failed. Then I guess guzzle automatically correct the url to \"http://\". But it seems guzzle can not deal with \"https:/\".\r\n\r\n**Example**  \r\n<!-- A simple example of the new feature in action (include PHP code, YAML config, etc.)\r\n     If the new feature changes an existing feature, include a simple before/after comparison. -->\r\n\r\nhere is my code:\r\n\r\n$req = new Request(\r\n                $method,\r\n                $url,\r\n                [\"Authorization\" => $authType . ' ' . $authToken, \"Content-Type\" => \"application/json;charset=utf-8\"],\r\n                $body\r\n            );\r\n\r\nif $url = \"http:/some-website\", everything is ok.\r\nbut if $url = \"https:/some-website\", error.\r\n\r\n**Additional context**\r\n<!-- Add any other context or screenshots about the feature request here. -->\r\n\r\nof course, this is my mistake of typing incorrect url. however I think if guzzle accepts \"http:/\" why not \"https:/\"?\r\n\r\nOr all my guess is wrong?"}}
{"actor":{"display_login":"Nyholm"}}