bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] Implementing draft to update RFC6265


From: Kushagra Singh
Subject: Re: [Bug-wget] Implementing draft to update RFC6265
Date: Thu, 11 Feb 2016 03:11:03 +0530

I figured out the mistake, I guess. The cookie was getting expired and
wasn't getting saved to the file. I added --keep-session-cookies to
WGET_OPTIONS, now I can see the cookies being saved in the file.

In the test, I am removing the first 4 lines of the cookie file (which WGET
generates) and then saving it again. Since no cookie should exist (in this
case), I am comparing it to an empty file using the ExpectedFiles hook.

Without the patch (0003), the test shouldn't pass, as the secure cookie is
set. Although there is an error raised "Error: Contents of mycookies.wget
do not match." in the test log, the test suit doesn't fail explicitly. Is
this supposed to happen?

After applying the patch (0003), the error is no longer raised in the log.

Patches and test log are attached.

Thank you,
Kushagra

Attachment: Test-reject-secure-cookie.log
Description: Text Data

Attachment: 0002-Added-test-rejects-setting-a-secure-cookie-over-a-no.patch
Description: Text Data

Attachment: 0001-Updated-expected_files-hook-to-allow-passing-a-funct.patch
Description: Text Data

Attachment: 0003-Added-recommendations-from-draft-West.patch
Description: Text Data


reply via email to

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