GNU bug report logs - #31248
27.0.50; Regression: Multibyte text in HTTP request

Previous Next

Package: emacs;

Reported by: Aaron Jensen <aaronjensen <at> gmail.com>

Date: Mon, 23 Apr 2018 16:21:02 UTC

Severity: normal

Found in version 27.0.50

Done: Aaron Jensen <aaronjensen <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #50 received at 31248 <at> debbugs.gnu.org (full text, mbox):

From: Aaron Jensen <aaronjensen <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 31248 <at> debbugs.gnu.org, Andreas Schwab <schwab <at> linux-m68k.org>
Subject: Re: bug#31248: 27.0.50; Regression: Multibyte text in HTTP request
Date: Tue, 24 Apr 2018 05:10:10 -0700
On Tue, Apr 24, 2018 at 5:06 AM, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
> And this made the entire request string multibyte.

Hm, that's odd. What does that have to do with the url-request-data w/
the emoji? If I change that to just an "x" then it won't fail in the
same way:

(let ((url "http://requestbin.fullcontact.com/1kkmrpx1")
      (url-request-method "POST")
      (url-request-data (encode-coding-string "x" 'utf-8))
      (url-request-extra-headers '(("Content-Type" . "application/json")))
      (url-http-proxy nil))
  (url-retrieve url (lambda (_))))




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

Previous Next


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