#324246 elinks does not handle non-breaking space in forms correctly

Package:
elinks
Source:
elinks
Description:
advanced text-mode WWW browser
Submitter:
David Madore
Date:
2024-06-05 00:18:03 UTC
Severity:
normal
Tags:
#324246#5
Date:
2005-08-21 09:13:36 UTC
From:
To:
Even when elinks is configured to use Setup -> Character set -> ISO
8859-1, it still does not send the non-breaking space (U+00A0)
character correctly in forms: for some reason, it sends ^A (0x01)
instead.

How to reproduce: go to <URL:
http://www.madore.org/~david/.test/trivialform.html >, make sure Setup
-> Character set is set to ISO 8859-1, enter a non-breaking space in
the form (typically by typing compose space space) and submit.
Observed behavior: links loads <URL: about:blank?q=%01 >.  Expected
behavior: <URL: about:blank?q=%a0 >.

[Trivia note: Mozilla/Firefox also bugs on this, but differently: it
replaces non-breaking space by ordinary space in forms: <URL:
https://bugzilla.mozilla.org/show_bug.cgi?id=218277 >.  Strange that
two totally independent browsers should have a bug on the same
innocent character!]

#324246#10
Date:
2006-09-23 23:54:17 UTC
From:
To:
 >.

I also have a trivial patch (attached) that probably fixes this bug
(but perhaps not in The Right Way).

Cheers,

#324246#19
Date:
2023-04-21 04:51:06 UTC
From:
To:
I just tested that for, using Elinks 0.16.0 (packaging is still in
progress), and elinks as a result says that it loads: about:blank?q=%20
is that correct ?

#324246#22
Date:
2023-04-21 04:51:06 UTC
From:
To:
I just tested that for, using Elinks 0.16.0 (packaging is still in
progress), and elinks as a result says that it loads: about:blank?q=%20
is that correct ?

#324246#29
Date:
2024-06-04 23:42:37 UTC
From:
To:
Do you get my last mail