From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.bugs Subject: bug#31248: 27.0.50; Regression: Multibyte text in HTTP request Date: Mon, 23 Apr 2018 17:47:39 -0700 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1524530783 10200 195.159.176.226 (24 Apr 2018 00:46:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 24 Apr 2018 00:46:23 +0000 (UTC) Cc: 31248@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 24 02:46:18 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fAm65-0002X3-Q3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Apr 2018 02:46:18 +0200 Original-Received: from localhost ([::1]:55986 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAm8A-0001cG-UZ for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Apr 2018 20:48:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAm7q-0001bs-3B for bug-gnu-emacs@gnu.org; Mon, 23 Apr 2018 20:48:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fAm7m-000361-I9 for bug-gnu-emacs@gnu.org; Mon, 23 Apr 2018 20:48:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57856) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fAm7m-00035u-DR for bug-gnu-emacs@gnu.org; Mon, 23 Apr 2018 20:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fAm7m-0001tT-0T for bug-gnu-emacs@gnu.org; Mon, 23 Apr 2018 20:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Jensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Apr 2018 00:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31248-submit@debbugs.gnu.org id=B31248.15245308747266 (code B ref 31248); Tue, 24 Apr 2018 00:48:01 +0000 Original-Received: (at 31248) by debbugs.gnu.org; 24 Apr 2018 00:47:54 +0000 Original-Received: from localhost ([127.0.0.1]:37520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fAm7Z-0001t3-K6 for submit@debbugs.gnu.org; Mon, 23 Apr 2018 20:47:53 -0400 Original-Received: from mail-qt0-f176.google.com ([209.85.216.176]:37736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fAm7V-0001sp-DG for 31248@debbugs.gnu.org; Mon, 23 Apr 2018 20:47:48 -0400 Original-Received: by mail-qt0-f176.google.com with SMTP id w12-v6so19987962qti.4 for <31248@debbugs.gnu.org>; Mon, 23 Apr 2018 17:47:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=YE9oviJb1GIdtLPpPomvDYpWtBwtN6Cmsrm0OADuGvA=; b=SBBPkp9Nsm0HpvWhfByoLWdcSvQ1J8u04pfjMdNxNLKXTTiR396r9ID6aFDfp4Yzwm BpvksoDAE2r19eBDllyVcepbBbgHcJxVc841hNjZTJrju7i6ALJok99JsoxfZGDvFeaP zKDcyNLsxsgJlKVdS5ZiJUThYvyj1mYoLUYGwxfTkI8ivlsfDzDfBrsnHvh/2mAbZcfq RJl829sAhrEOhnY6jO0xoLoeII2UN3a0WKLeThtAmmgOukIcZmTAfyX7P/EyQNmZvm/V 0DxasCbI6oEGsRfUEtAdmEYp4vx8+u+GMo9N3fBsC7cDxO4MCdvnt2XNB7Og3a57NZ1p PgmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=YE9oviJb1GIdtLPpPomvDYpWtBwtN6Cmsrm0OADuGvA=; b=eUyj6RdMhIKd3oPT5/LpGjZVVp8gtYhWwRqqD2eJTtEeyP0e+gKb71Vo+VkeV2XT5y WgGRTtuLdv35ODaSkRkEOyxr9o5wQBS4GzR+WsMeAz+AFqGkLJHrjJGzKgihjO5rhSij 5/6ahpGX5UtXyJPqqbPPZ2B1A7TRLPH74OXHs1vICzmPlx3PTILN/7kxP1kVPU5jxY+H VJIFQp/p4JiqPUZ93zgibE6k2ewv4z1KyKH/uPPf+iH1rlnIUlyKJnm+qzwS/ifjR8MA P66a7Rv4PXATycYtoqIFn+Bk54zcsHmEdZYwWOBj5UXpAEqZy/oMjhTwRUs+9NqlrNEV tJ7g== X-Gm-Message-State: ALQs6tALBdYiQWrj2C6rpxDSTLtRNSzIjMy2rJgv/Rqpjp41LifPMP7u 8+5fcKzTfSYExBXh6cJoKjNh5Go4DAPuttkEqAvnxqtn X-Google-Smtp-Source: AIpwx48q+/rc4zunPu+1GncqI1sI8wzf4Zjr9ipHn0GekuAh+Xp2Jp0uhpxY1rpbwscV73RX/SDc8THX2LZtIiaEeeI= X-Received: by 2002:ac8:334c:: with SMTP id u12-v6mr25634780qta.127.1524530859786; Mon, 23 Apr 2018 17:47:39 -0700 (PDT) Original-Received: by 10.200.48.140 with HTTP; Mon, 23 Apr 2018 17:47:39 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:145717 Archived-At: On Mon, Apr 23, 2018 at 12:54 PM, Lars Ingebrigtsen 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 i= t. > 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 # http -> Reusing existing connection: api.github.com:443 http -> Marking connection as busy: api.github.com:443 # http -> getting referer from buffer: buffer:# 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 #> http -> getting referer from buffer: buffer:# 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 #> http -> getting referer from buffer: buffer:# 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 # http -> getting referer from buffer: buffer:# 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 "=F0=9F=93=A6") (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...