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 #59 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, control <at> debbugs.gnu.org
Subject: Re: bug#31248: 27.0.50; Regression: Multibyte text in HTTP request
Date: Tue, 24 Apr 2018 05:31:57 -0700
close 31248
quit

On Tue, Apr 24, 2018 at 5:23 AM, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
>> Fun!  :-)
>
> The reason here is that when you put raw bytes into a multibyte string,
> Emacs has to represent that somehow, and it represents that with an
> internal coding that takes two bytes per byte.  If you get my drift.
>
> So the moral here is: That function is really, really badly designed,
> because it makes it easy (for people like me) to make these errors
> really easily.  Once I merge the `with-url' branch (which reimplements
> all the HTTP stuff) into master I hopefully won't ever have to look at
> that function again.  :-)

Wild. Well, I appreciate the explanation and the quick fix. I can
confirm that it fixes my original issue w/ ghub. Thanks again!




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.