[links-list] Re: links bug

Petr Baudis pasky at pasky.ji.cz
Tue Aug 27 09:08:22 PDT 2002


Dear diary, on Tue, Apr 09, 2002 at 08:58:57PM CEST, I got a letter,
where Rudolf Marek <MAREKR2 at cs.felk.cvut.cz> told me, that...
> Hello,
> 
> I just discoved this bug - tcpflow will hopefully explain:
> 
> POST http://www-lexikon.nada.kth.se/cgi-bin/skolverket/swe-eng HTTP/1.0
> Hostw-lexikon.nada.kth.se
> User-Agent: Links (0.97pre9; Linux 2.4.16 i486; 116x25)
> Accept: */*
> Accept-Charset: us-ascii, ISO-8859-1, ISO-8859-2, ISO-8859-4, ISO-8895-5, 
> IS59-7, ISO-8895-9, ISO-8859-13, ISO-8
> Content-Type: application/x-www-form-urded
> Content-Length: 42
> sprak=maalspraak&uppslagsord=walk&stava=on
> ----end----
> 
> And thing that happens is that it converts chars from ISO-1 to ISO-2
> 
> Should be this way, or similar
> 
> POST http://www-lexikon.nada.kth.se/cgi-bin/skolverket/swe-eng HTTP/1.0
> Hostw-lexikon.nada.kth.se
> Accept: text/html, text/plain, text/sgml, */*;q=0.01
> Accept-Encoding: gzip, ress
> Accept-Language: en
> Pragma: no-cache
> Cache-Control: no-cache
> User-Agent: Lynx/2.8.3rel.1 libwww-FM/2.14
> Referer: ://sunsite.kth.se/skolverket/swe-eng.shtml
> Content-type: application/x-www-urlencoded
> Content-length: 44
> 
> sprak=m%E5lspr%E5k&uppslagsord=walk&stava=on
> ----end----
> 
> 
> Would be nice to catch this. If I change CP to ISO1 it works of course 
> excelent.
> 
> Regards
> 
> 	Rudolf  Marek
> 
> PS: if you want to try url is
> Referer: http://sunsite.kth.se/skolverket/swe-eng.shtml

The point is that when sending forms, we convert encoding of controls from
terminal encoding to encoding of the page with the forms.

-- 
 
				Petr "Pasky" Baudis
 
* ELinks maintainer                * IPv6 guy (XS26 co-coordinator)
* IRCnet operator                  * FreeCiv AI occassional hacker
.
<Beeth> Girls are like internet domain names, the ones I like are already taken.
<honx> Well, you can still get one from a strange country :-P
.
Public PGP key && geekcode && homepage: http://pasky.ji.cz/~pasky/
-- 
Unsubscribe: send email to links-list-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message



More information about the links-list mailing list