Message140191
| Author |
Alex.Leon |
| Recipients |
Alex.Leon |
| Date |
2011年07月12日.13:48:18 |
| SpamBayes Score |
0.0035003389 |
| Marked as misclassified |
No |
| Message-id |
<1310478499.65.0.178767259424.issue12541@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It looks like some servers using basic authentication don't include quotes around the realm (example https://api.connect2field.com) as required by rfc 2617. urllib wont handle these requests and silently fails, but a simple change to the regex in AbstractBasicAuthHandler from
'realm=(["\'])(.*?)\2円', re.I)
to
'realm=(["\']?)(["\']*)\2円', re.I)
would make authentication more flexible. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年07月12日 13:48:19 | Alex.Leon | set | recipients:
+ Alex.Leon |
| 2011年07月12日 13:48:19 | Alex.Leon | set | messageid: <1310478499.65.0.178767259424.issue12541@psf.upfronthosting.co.za> |
| 2011年07月12日 13:48:19 | Alex.Leon | link | issue12541 messages |
| 2011年07月12日 13:48:18 | Alex.Leon | create |
|