➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 martin.panter
收信人 Andy.Reitz, martin.panter, orsenthil, takis
日期 2015-02-10.06:58:07
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1423551487.88.0.807461965024.issue23328@psf.upfronthosting.co.za>
In-reply-to
内容
This should demonstrate that Curl does parse literal slashes in the username and password fields:

$ http_proxy=http://user/name:pass/word@localhost:22 curl -v http://example.net/
*   Trying ::1...
* Connected to localhost (::1) port 22 (#0)
* Proxy auth using Basic with user 'user/name'
> GET http://example.net/ HTTP/1.1
> Proxy-Authorization: Basic dXNlci9uYW1lOnBhc3Mvd29yZA==
> User-Agent: curl/7.40.0
> Host: example.net
> Accept: */*
> Connection: TE
> TE: gzip
> Proxy-Connection: Keep-Alive
> 
SSH-2.0-OpenSSH_6.2
Protocol mismatch.
* Recv failure: Connection reset by peer
* Closing connection 0
curl: (56) Recv failure: Connection reset by peer
[Exit 56]
$ base64 -d <<< dXNlci9uYW1lOnBhc3Mvd29yZA==
user/name:pass/word$
历史
日期 用户 动作 参数
2015-02-10 06:58:07martin.panter修改recipients: + martin.panter, orsenthil, Andy.Reitz, takis
2015-02-10 06:58:07martin.panter修改messageid: <1423551487.88.0.807461965024.issue23328@psf.upfronthosting.co.za>
2015-02-10 06:58:07martin.panter链接issue23328 messages
2015-02-10 06:58:07martin.panter创建