bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [bug #56755] Saved cookies file doesn't pass cookielib's vali


From: anonymous
Subject: [Bug-wget] [bug #56755] Saved cookies file doesn't pass cookielib's valid cookie format test
Date: Wed, 14 Aug 2019 01:35:41 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0

URL:
  <https://savannah.gnu.org/bugs/?56755>

                 Summary: Saved cookies file doesn't pass cookielib's valid
cookie format test
                 Project: GNU Wget
            Submitted by: None
            Submitted on: Wed 14 Aug 2019 05:35:40 AM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Ashley Harvey
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.20
        Operating System: Mac OS
         Reproducibility: Every Time
           Fixed Release: None
         Planned Release: None
              Regression: None
           Work Required: None
          Patch Included: No

    _______________________________________________________

Details:

This may be an issue of strict regexing where it needn't be - please let me
know if I should report this in a bug repo for cookielib instead.

I'm on macOS 10.14.6, wget 1.20.3.

Command line:
> $ wget --save-cookies cookies.txt --keep-session-cookies --post-data
'username=myUserName&password=myPassword' --delete-after <url>

However, line 39 of _MozillaCookieJar.py (cookielib) shows it looking for
> magic_re = "#( Netscape)? HTTP Cookie File"
in order to validate the passed cookie file.  wget, however, produces a
cookies file that begins with
> # HTTP cookie file

The lack of upper-case c and f cause cookielib to choke and stop processing
the cookies file. 




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56755>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]