Closed aelmahmoudy closed 1 year ago
Now, only for A elements, href is encoded to terminal codepage, which is usually utf-8 nowadays. At least for above testcase works as other browsers.
hello
commit 7a665d8de49236bf946efb25277bcd3612fc6242 breaks all my smart rewrite rules.
Eg, in elinks.conf
I have:
set protocol.rewrite.smart.dd = "https://duckduckgo.com/?t=ouk&q=%s"
If I type:
dd:felinks software
in the Go to URL
window, I get an error message from the DuckDuckGo
site:
Oops, there was an error. Please try again.
If it persists, please email ops@duckduckgo.com
OTOH, I get the usual correct behavior with any version prior to the breaking commit mentioned above.
I don't know if this is a problem introduced by 7a665d8de49236bf946efb25277bcd3612fc6242, or if I should change something in my smart rewrite rules to make them work again.
many thanks in advance for any help -gabriele
And commit from #226 ?
And commit from #226 ?
ah, that apparently fixed everything! I thank you very much indeed
For the following HTML file:
the first two URIs are not handled correctly: the "è" character is replaced by %E8 instead of %C3%A8 :
As you can see, the first two links are sent incorrectly by ELinks.
As a comparison, here's what lynx gives:
The é is encoded as %C3%A9 in the 3 cases, which is correct.
Ditto with Firefox: