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

Re: Bug in w3m-url-encode-string



>>>>> In [emacs-w3m : No.09431] lde wrote:

> 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

Thanks.  I've modified `w3m-url-encode-string' and also
`w3m-url-transfer-encode-string' so as to use uppercase letters
in hexadecimal string.  In the emacs-w3m CVS trunk.

Regards,