On 2023-04-20 01:05:42 +0200, أحمد المحمودي wrote:
> I tried the links in trhe attached files, and they seem to be moved
> permenamtly,
Well, a better test is to use local URLs and look at the logs of
the local web server. So I've attached a new file with such URLs.
> can you test with elinks 0.13.1 if this issue still persists ?
The current version is 0.13.2-1. I get:
::1 - - [20/Apr/2023:05:18:23 +0200] "GET /1\xe9.html HTTP/1.1" 404 488 "-"
"ELinks/0.13.2 (textmode; Linux 6.1.0-7-amd64 x86_64; 96x60-2)"
::1 - - [20/Apr/2023:05:18:25 +0200] "GET /2\xe9.html HTTP/1.1" 404 487 "-"
"ELinks/0.13.2 (textmode; Linux 6.1.0-7-amd64 x86_64; 96x60-2)"
::1 - - [20/Apr/2023:05:18:27 +0200] "GET /3%C3%A9.html HTTP/1.1" 404 487 "-"
"ELinks/0.13.2 (textmode; Linux 6.1.0-7-amd64 x86_64; 96x60-2)"
As you can see, the first two links are sent incorrectly by ELinks.
As a comparison, here's what lynx gives:
::1 - - [20/Apr/2023:05:21:02 +0200] "GET /1%C3%A9.html HTTP/1.0" 404 451 "-"
"Lynx/2.9.0dev.12 libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/3.7.8"
::1 - - [20/Apr/2023:05:21:07 +0200] "GET /2%C3%A9.html HTTP/1.0" 404 451 "-"
"Lynx/2.9.0dev.12 libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/3.7.8"
::1 - - [20/Apr/2023:05:21:12 +0200] "GET /3%C3%A9.html HTTP/1.0" 404 451 "-"
"Lynx/2.9.0dev.12 libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/3.7.8"
The é is encoded as %C3%A9 in the 3 cases, which is correct.
Ditto with Firefox:
127.0.0.1 - - [20/Apr/2023:05:25:35 +0200] "GET /1%C3%A9.html HTTP/1.1" 404 488
"-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0"
127.0.0.1 - - [20/Apr/2023:05:25:38 +0200] "GET /2%C3%A9.html HTTP/1.1" 404 487
"-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0"
127.0.0.1 - - [20/Apr/2023:05:25:41 +0200] "GET /3%C3%A9.html HTTP/1.1" 404 487
"-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0"
--
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Title: Test of Accented Characters in URLs (ISO-8859-1 Encoding)
Test of Accented Characters in URLs (ISO-8859-1 Encoding)