[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: |
Stefan Monnier |
Subject: |
bug#23750: 25.0.95; bug in url-retrieve or json.el |
Date: |
Mon, 13 Jun 2016 13:55:15 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
>> ยน https://github.com/ternjs/tern/issues/719
> Investigation shows that the problem occurs when url-http-data is multibyte
> and (length url-http-data) differs from (length (string-as-unibyte
> url-http-data)), because we send a wrong value in Content-length.
> Changing url-http-create-request like this will make the problem more
> obvious for anyone else that hits it, patch attached.
> Stefan, did you have a particular situation in mind where this might be bad,
> when you wrote the FIXME?
No, nothing in particular. Just that `string-as-unibyte` is generally
synonymous with "the author is confused about how coding systems work",
aka "trouble".
Stefan
- bug#23750: 25.0.95; bug in url-retrieve or json.el, Leo Liu, 2016/06/11
- bug#23750: 25.0.95; bug in url-retrieve or json.el, Dmitry Gutov, 2016/06/13
- bug#23750: 25.0.95; bug in url-retrieve or json.el,
Stefan Monnier <=
- bug#23750: 25.0.95; bug in url-retrieve or json.el, Dmitry Gutov, 2016/06/13
- bug#23750: 25.0.95; bug in url-retrieve or json.el, Stefan Monnier, 2016/06/13
- bug#23750: 25.0.95; bug in url-retrieve or json.el, Dmitry Gutov, 2016/06/19
- bug#23750: 25.0.95; bug in url-retrieve or json.el, Eli Zaretskii, 2016/06/19
- bug#23750: 25.0.95; bug in url-retrieve or json.el, John Wiegley, 2016/06/19
- bug#23750: 25.0.95; bug in url-retrieve or json.el, Dmitry Gutov, 2016/06/19
- bug#23750: 25.0.95; bug in url-retrieve or json.el, John Wiegley, 2016/06/19
- bug#23750: 25.0.95; bug in url-retrieve or json.el, Dmitry Gutov, 2016/06/19
- bug#23750: 25.0.95; bug in url-retrieve or json.el, John Wiegley, 2016/06/19
- bug#23750: 25.0.95; bug in url-retrieve or json.el, Glenn Morris, 2016/06/19