[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] [PATCH] Test-cookies.px
From: |
Tim Ruehsen |
Subject: |
Re: [Bug-wget] [PATCH] Test-cookies.px |
Date: |
Mon, 12 Nov 2012 09:07:20 +0100 |
User-agent: |
KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) |
Am Sunday 11 November 2012 schrieb Giuseppe Scrivano:
> 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?
Sorry, here it comes.
Tim
0001-update-tests-ChangeLog.patch
Description: Text Data