{"action":"created","issue":{"url":"https://api.github.com/repos/bagder/curl/issues/573","labels_url":"https://api.github.com/repos/bagder/curl/issues/573/labels{/name}","comments_url":"https://api.github.com/repos/bagder/curl/issues/573/comments","events_url":"https://api.github.com/repos/bagder/curl/issues/573/events","html_url":"https://github.com/bagder/curl/issues/573","id":123293545,"number":573,"title":"\"--user\" broken on Windows?","user":{"login":"larsxschneider","id":477434,"avatar_url":"https://avatars.githubusercontent.com/u/477434?v=3","gravatar_id":"","url":"https://api.github.com/users/larsxschneider","html_url":"https://github.com/larsxschneider","followers_url":"https://api.github.com/users/larsxschneider/followers","following_url":"https://api.github.com/users/larsxschneider/following{/other_user}","gists_url":"https://api.github.com/users/larsxschneider/gists{/gist_id}","starred_url":"https://api.github.com/users/larsxschneider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsxschneider/subscriptions","organizations_url":"https://api.github.com/users/larsxschneider/orgs","repos_url":"https://api.github.com/users/larsxschneider/repos","events_url":"https://api.github.com/users/larsxschneider/events{/privacy}","received_events_url":"https://api.github.com/users/larsxschneider/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-21T14:56:24Z","updated_at":"2015-12-21T16:02:09Z","closed_at":null,"body":"Curl auth hangs on Windows in \"git-bash.exe\" from the latest Git for Windows distribution (2.6.4):\r\n```\r\ncurl --user myuser https://myserver\r\n```\r\nIt works on Windows if I use \"git-cmd.exe\" and on OSX.\r\n\r\n```\r\n$ curl --version\r\ncurl 7.45.0 (i686-w64-mingw32) libcurl/7.45.0 OpenSSL/1.0.2d zlib/1.2.8 libidn/1.32 libssh2/1.6.0 librtmp/2.3\r\nProtocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smtp smtps telnet tftp\r\nFeatures: IDN IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL libz TLS-SRP\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/bagder/curl/issues/comments/166341257","html_url":"https://github.com/bagder/curl/issues/573#issuecomment-166341257","issue_url":"https://api.github.com/repos/bagder/curl/issues/573","id":166341257,"user":{"login":"gvanem","id":945271,"avatar_url":"https://avatars.githubusercontent.com/u/945271?v=3","gravatar_id":"","url":"https://api.github.com/users/gvanem","html_url":"https://github.com/gvanem","followers_url":"https://api.github.com/users/gvanem/followers","following_url":"https://api.github.com/users/gvanem/following{/other_user}","gists_url":"https://api.github.com/users/gvanem/gists{/gist_id}","starred_url":"https://api.github.com/users/gvanem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvanem/subscriptions","organizations_url":"https://api.github.com/users/gvanem/orgs","repos_url":"https://api.github.com/users/gvanem/repos","events_url":"https://api.github.com/users/gvanem/events{/privacy}","received_events_url":"https://api.github.com/users/gvanem/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T16:02:09Z","updated_at":"2015-12-21T16:02:09Z","body":"You mean:\r\n```\r\ncurl --user myuser https://myserver\r\n```\r\n\r\nis *hanging* waiting for a password? You can always put the login information in `~./.netrc` (or `~./_netrc` on Windows) to get logged in automatically.\r\n\r\n**BTW**. IMHO it would be nice if curl's `_netrc` parses on Windows could accept a line like:\r\n ```\r\n-include %APPDATA%/.netrc\r\n ```\r\n\r\nSince it is more work to maintain 2 `*netrc` files. :+1: or :-1:  ?"}}