Message349743
I'm on macOS 10.14.6, wget 1.20.3, python 2.7.
Command line:
$ wget --save-cookies cookies.txt --keep-session-cookies --post-data
'username=myUserName&password=myPassword' --delete-after <url>
Line 39 of _MozillaCookieJar.py (cookielib) shows it looking for 'magic_re = "#( Netscape)? HTTP Cookie File"' in order to validate the supplied cookies file. Unlike cURL, wget however, produces a cookies file that begins with "# HTTP cookie file". Note the lower-case c and f. I reported this as a bug to the wget team who looked for the spec to say that that line must follow a certain format and couldn't find any such mention. (See: https://savannah.gnu.org/bugs/?56755)
The lack of upper-case c and f cause cookielib to choke and stop processing
the cookies file, and so here I am reporting it as a bug that the regex is case-sensitive. |
|
Date |
User |
Action |
Args |
2019-08-14 20:14:55 | ashleyharvey | set | recipients:
+ ashleyharvey, ronaldoussoren, ned.deily |
2019-08-14 20:14:54 | ashleyharvey | set | messageid: <1565813694.91.0.343923131881.issue37858@roundup.psfhosted.org> |
2019-08-14 20:14:54 | ashleyharvey | link | issue37858 messages |
2019-08-14 20:14:54 | ashleyharvey | create | |
|