unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Aaron Jensen <aaronjensen@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 31248@debbugs.gnu.org
Subject: bug#31248: 27.0.50; Regression: Multibyte text in HTTP request
Date: Mon, 23 Apr 2018 17:47:39 -0700	[thread overview]
Message-ID: <CAHyO48x16k_4Pkxc0ZB6gtkoCAue7cvoz6k3JoHfLdsPRF3o+Q@mail.gmail.com> (raw)
In-Reply-To: <m336zlpul9.fsf@gnus.org>

On Mon, Apr 23, 2018 at 12:54 PM, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> When you get home, can you try the same pull request both with that
> commit and with that commit reverted and see whether it really is that
> commit that's the culprit?  That would help a lot.

Sure--confirmed, reverting 4a6302330384ad89bcfccce6b563eb5462b753a9 fixes it.

> Also setting
> url-debug to t and looking at the *URL-DEBUG* might be helpful...

*URL-DEBUG* doesn't have much afaict:

http -> Found existing connection: api.github.com:443 #<process api.github.com>
http -> Reusing existing connection: api.github.com:443
http -> Marking connection as busy: api.github.com:443 #<process api.github.com>
http -> getting referer from buffer: buffer:#<buffer
*magithub-pull-request: test into org/repo:master*> target-url:#s(url
"https" nil nil "api.github.com" nil "/repos/org/repo/pulls" nil nil t
nil t nil) lastloc:nil
http -> Contacting host: api.github.com:443
http -> Marking connection as busy: api.github.com:443 #<process
api.github.com<1>>
http -> getting referer from buffer: buffer:#<buffer
*magithub-pull-request: test into org/repo:master*> target-url:#s(url
"https" nil nil "api.github.com" nil "/repos/org/repo/pulls" nil nil t
nil t nil) lastloc:nil
http -> url-http-end-of-document-sentinel in buffer ( *http
api.github.com:443*-584054)
http -> Contacting host: api.github.com:443
http -> Marking connection as busy: api.github.com:443 #<process
api.github.com<1>>
http -> getting referer from buffer: buffer:#<buffer  *http
api.github.com:443*-584054> target-url:#s(url "https" nil nil
"api.github.com" nil "/repos/org/repo/pulls" nil nil t nil t nil)
lastloc:nil
http -> url-http-end-of-document-sentinel in buffer ( *http
api.github.com:443*-689368)
http -> Contacting host: api.github.com:443
http -> Marking connection as busy: api.github.com:443 #<process api.github.com>
http -> getting referer from buffer: buffer:#<buffer  *http
api.github.com:443*-689368> target-url:#s(url "https" nil nil
"api.github.com" nil "/repos/org/repo/pulls" nil nil t nil t nil)
lastloc:nil

FWIW, this reproduces it on both master and with the commit reverted:

(let ((url "http://requestbin.fullcontact.com/1kkmrpx1")
      (url-request-method "POST")
      (url-request-data "📦")
      (url-http-extra-headers '())
      (url-http-proxy nil))
  (url-retrieve url (lambda ())))


It seems that perhaps that is expected? I'm not sure what ghub is
doing differently that allows it to pass with your commit reverted...





  reply	other threads:[~2018-04-24  0:47 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-23 16:20 bug#31248: 27.0.50; Regression: Multibyte text in HTTP request Aaron Jensen
2018-04-23 17:04 ` Lars Ingebrigtsen
2018-04-23 17:14   ` Aaron Jensen
2018-04-23 18:55     ` Lars Ingebrigtsen
2018-04-23 19:00       ` Aaron Jensen
2018-04-23 19:14         ` Lars Ingebrigtsen
2018-04-23 19:39           ` Aaron Jensen
2018-04-23 19:42             ` Lars Ingebrigtsen
2018-04-23 19:47               ` Aaron Jensen
2018-04-23 19:54                 ` Lars Ingebrigtsen
2018-04-24  0:47                   ` Aaron Jensen [this message]
2018-04-24  7:19                     ` Andreas Schwab
2018-04-24 11:21                       ` Aaron Jensen
2018-04-24 11:54                         ` Lars Ingebrigtsen
2018-04-24 12:06                         ` Lars Ingebrigtsen
2018-04-24 12:10                           ` Aaron Jensen
2018-04-24 12:17                             ` Lars Ingebrigtsen
2018-04-24 12:23                               ` Lars Ingebrigtsen
2018-04-24 12:31                                 ` Aaron Jensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHyO48x16k_4Pkxc0ZB6gtkoCAue7cvoz6k3JoHfLdsPRF3o+Q@mail.gmail.com \
    --to=aaronjensen@gmail.com \
    --cc=31248@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).