[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Bug in w3m-url-encode-string



w3m-url-encode-string uses lowercase instead of uppercase letters for percent-encoding. It mostly works, but breaks some CGI programs.

(w3m-url-encode-string "\xab") => "%ab"

The syntax of percent-encoded character is, according to  RFC3986[1]:

pct-encoded = "%" HEXDIG HEXDIG

where HEXDIG is defined in RFC2234[2]:

HEXDIG         =  DIGIT / "A" / "B" / "C" / "D" / "E" / "F"

[1] http://tools.ietf.org/html/rfc3986
[2] http://tools.ietf.org/html/rfc2234

--
Ɓukasz Demianiuk