GNU bug report logs - #24239
25.1; Potential regression: Multibyte text in HTTP request

Previous Next

Package: emacs;

Reported by: Damien Cassou <damien <at> cassou.me>

Date: Mon, 15 Aug 2016 19:27:01 UTC

Severity: normal

Tags: fixed

Fixed in version 25.1

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: damien <at> cassou.me, 24239 <at> debbugs.gnu.org
Subject: bug#24239: 25.1; Potential regression: Multibyte text in HTTP request
Date: Wed, 17 Aug 2016 04:32:24 +0300
On 08/16/2016 06:01 PM, Eli Zaretskii wrote:

> I guess you are talking about NEWS, not ChangeLog.

Yup. That's what I gathered Damien to mean, considering we do mention 
this change in the generated ChangeLog.

> It's tru we don't
> describe bug-fixes in NEWS, but we do describe incompatible changes.
> So I think it would be good to document this change there.  Could you
> suggest some simple description of that?

Something like "url-request-data is not allowed to be bound to a 
multibyte value; if your request body is multibyte (which is the usual 
case, by the way), convert it with encode-coding-string".

Hmm... by the way, we could also mention that json-encode now keeps most 
multibyte characters as-is. Which is the reason we had to scramble to 
fix this problem with the URL package.

> (I don't understand the
> details of the use case well enough to do that myself -- how is the
> value of url-request-data related to the change we made in
> url-http-create-request?)

The related change is for the previous bug report (23750), and the 
commit a98aa02a that added the "Multibyte text in HTTP request" error.




This bug report was last modified 7 years and 107 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.