[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] [cookies?] unable to log in in http://board.flatassembler
From: |
Thomas Dickey |
Subject: |
Re: [Lynx-dev] [cookies?] unable to log in in http://board.flatassembler.net/ |
Date: |
Thu, 4 Nov 2021 15:59:39 -0400 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Thu, Nov 04, 2021 at 07:22:06PM +0000, Sylvain BERTRAND wrote:
> Hi,
>
> is the patch ok to go in?
It looks okay to me.
> regards,
>
> --
> Sylvain
>
> On Wed, Nov 03, 2021 at 07:28:21PM +0000, Sylvain BERTRAND wrote:
> > Ok, I did dive into the issue and found the bug which is on the server side:
> > the server does bug if you send mix-cased http header names, namely
> > 'Content-type'
> > instead of 'Content-Type'.
> > Weird, I have a very strong feeling of deja vu.
> >
> > Here is a patch to work-around those buggy servers with lynx:
> > ---
> >
> > --- a/WWW/Library/Implementation/HTTP.c
> > +++ b/WWW/Library/Implementation/HTTP.c
> > @@ -1741,13 +1741,13 @@
> > anAnchor->post_content_type
> > ? anAnchor->post_content_type
> > : "lose"));
> > - HTBprintf(&command, "Content-type: %s%c%c",
> > + HTBprintf(&command, "Content-Type: %s%c%c",
> > anAnchor->post_content_type
> > ? anAnchor->post_content_type
> > : "lose",
> > CR, LF);
> >
> > - HTBprintf(&command, "Content-length: %d%c%c",
> > + HTBprintf(&command, "Content-Length: %d%c%c",
> > !isBEmpty(anAnchor->post_data)
> > ? BStrLen(anAnchor->post_data)
> > : 0,
>
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: PGP signature
- Re: [Lynx-dev] [cookies?] unable to log in in http://board.flatassembler.net/, (continued)
- Re: [Lynx-dev] [cookies?] unable to log in in http://board.flatassembler.net/, Sylvain BERTRAND, 2021/11/02
- Re: [Lynx-dev] [cookies?] unable to log in in http://board.flatassembler.net/, Thomas Dickey, 2021/11/02
- Re: [Lynx-dev] [cookies?] unable to log in in http://board.flatassembler.net/, Thorsten Glaser, 2021/11/02
- Re: [Lynx-dev] [cookies?] unable to log in in http://board.flatassembler.net/, David Woolley, 2021/11/03
- Re: [Lynx-dev] [cookies?] unable to log in in http://board.flatassembler.net/, David Woolley, 2021/11/03
- Re: [Lynx-dev] [cookies?] unable to log in in http://board.flatassembler.net/, Steffen Nurpmeso, 2021/11/03
- Re: [Lynx-dev] [cookies?] unable to log in in http://board.flatassembler.net/, Sylvain BERTRAND, 2021/11/02
- Re: [Lynx-dev] [cookies?] unable to log in in http://board.flatassembler.net/, Thorsten Glaser, 2021/11/03
- Re: [Lynx-dev] [cookies?] unable to log in in http://board.flatassembler.net/, Sylvain BERTRAND, 2021/11/03
- Re: [Lynx-dev] [cookies?] unable to log in in http://board.flatassembler.net/, Sylvain BERTRAND, 2021/11/04
- Re: [Lynx-dev] [cookies?] unable to log in in http://board.flatassembler.net/,
Thomas Dickey <=