[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in w3m-url-encode-string
- From: lde <ldemianiuk@xxxxxxxxx>
- Date: Fri, 11 May 2007 01:20:06 +0200
- X-ml-name: emacs-w3m
- X-mail-count: 09431
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