bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] [PATCH] Test-cookies.px


From: Giuseppe Scrivano
Subject: Re: [Bug-wget] [PATCH] Test-cookies.px
Date: Sun, 11 Nov 2012 13:34:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Tim Ruehsen <address@hidden> writes:

> To check wget for NOT sending a request header, I patched HTTPServer.pm.
> Here is an example taken from the patched Test-cookies.px (see below):
> ...
>         request_headers => {
>             "!Cookie" => qr|foo=bar|,
>         },
> ...
>
> That means: return an error, if there is a Cookie request header that 
> contains 
> foo=bar. (I hope, I understood that perl stuff correctly).
> I am not perl programmer, so maybe my changes are suboptimal. Please someone 
> check that.
>
>
> Then, I expanded Test-cookies.px to delete the session cookie by using an 
> outdated 'Expires' tag. (works fine).
>
> Also included is a test for testing the ignorance of a non-matching domain in 
> the Set-Cookie header. (wget fails, but shouldn't due to RFC 6265 5.3.6).
> wget just replaces that foreign domain with the domain from the request-uri.
>
>
> Should things like that go to the bug tracker ? (There are so many open 
> issues 
> for so long time that I am unshure about that.)

I think few people are following the activity on Savannah, I don't see
problems to send these generic fixes here on the mailing list and give
them a possibility to comment.

The patches seem ok, thanks for that.  Could you please complete them
with the ChangeLog entries?

Giuseppe



reply via email to

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