bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#23750: 25.0.95; bug in url-retrieve or json.el


From: Dmitry Gutov
Subject: bug#23750: 25.0.95; bug in url-retrieve or json.el
Date: Mon, 20 Jun 2016 05:51:06 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2

On 06/20/2016 05:40 AM, Eli Zaretskii wrote:

So this is not a bug in Emacs, but a diagnostic facility to let bugs
in applications be discovered?

It's a bug. Accepting invalid input and behaving badly with it is definitely a bug.

If this is what you need, why not simply test the payload for being a
unibyte string?  There a function, multibyte-string-p, for that.

There are a lot of variables to test (see the comment above the mapconcat call).

I'm fine either way, but my patch changes two characters, and yours will be longer. And you'll have to come up with the error message(s).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]