From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#31248: 27.0.50; Regression: Multibyte text in HTTP request Date: Tue, 24 Apr 2018 14:06:22 +0200 Message-ID: References: <87tvs1f4w6.fsf@linux-m68k.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1524571511 25886 195.159.176.226 (24 Apr 2018 12:05:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 24 Apr 2018 12:05:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 31248@debbugs.gnu.org, Andreas Schwab To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 24 14:05:07 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 1fAwh1-0006cw-57 for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Apr 2018 14:05:07 +0200 Original-Received: from localhost ([::1]:58196 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAwj8-0000ey-1Q for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Apr 2018 08:07:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAwiy-0000eh-3A for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2018 08:07:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fAwis-0004CV-CW for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2018 08:07:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58067) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fAwis-0004CL-8d for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2018 08:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fAwir-0002mN-Po for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2018 08:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Apr 2018 12:07: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.152457158810638 (code B ref 31248); Tue, 24 Apr 2018 12:07:01 +0000 Original-Received: (at 31248) by debbugs.gnu.org; 24 Apr 2018 12:06:28 +0000 Original-Received: from localhost ([127.0.0.1]:37731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fAwiK-0002lW-If for submit@debbugs.gnu.org; Tue, 24 Apr 2018 08:06:28 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:58280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fAwiI-0002lO-4s for 31248@debbugs.gnu.org; Tue, 24 Apr 2018 08:06:27 -0400 Original-Received: from cm-84.212.221.165.getinternet.no ([84.212.221.165] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fAwiE-0008SF-Iy; Tue, 24 Apr 2018 14:06:25 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAADFBMVEUnHxvQvaOJc2JcTEIj 7ROpAAACR0lEQVQokSWQTWjTYBjHHxcEoXE9efAiw+ml1bYsty0mR0EFGfokdtXDlLQsc7pLnRNP 86RWBTXi6s25ur4JrA4/2CwmVAb7qFT8ODhklA21S8NWJ4K2ofEdHn/8//yeD3iGPeNDiny8tp4X 4BZ27+7+Jh8JNVwRkn3PVyampd9C3fEAzx0cQKHHZ824ITg1eGjgzGHJfKG7YThhXB9O9v4Ivlyk SeyD//Xn2NHFaquxDtL5nVdQ+pqeOmsEATPvhlDaZ6ULRhUUBROY2NN72pkIQBwxivJH4VqOgjqK mJTuPd7fX7FhJCMnL326W5p95QTAbErTyfvvndlqJQA4jGvJ0eXc/MYfCqh9z+CytfBmjs5BBZfi ex8uTLlbyS7q9ty/ap5CbElDZIX5HppE+7L2Gl5d3a4eCICGspLF/FxAtUJAqCEqAb+N0Jr5hS4n M0aB0A00Dfu0k7+4EjGoTdEuaPJPliH0VfhAiWlPWgy/7giAhCjq0672Lp3WNJ1Ex7OPeDLmdMIM yaaVyRVQDapOpDNZTKVqrbni1tmExFfC4RTHUnWGENJY5VtytKZW7ToxzWaQoUm/qTfJ2A3SzvMi XLTJDJm4TXxtbCeoecEmejupFCIiEItr1O+kAikROuFymfFssxz0eawIOWCYzU2zVtdBAAuYSEfH jrcNmyYWALRwvNiw3f/AQFtrXadws1gEsCJcc5LCIBRZxmXDviqFY2AV+XKpyzNrAoxYEdYJcWKj VKMCv+dn/GLd8yjkOKqD0kaJwj+mVyCMmKyHNQAAAABJRU5ErkJggg== In-Reply-To: (Aaron Jensen's message of "Tue, 24 Apr 2018 04:21:30 -0700") 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:145723 Archived-At: OK, I found the problem, and it's, er, obscure, man: (setq i "http://requestbin.fullcontact.com") (multibyte-string-p i) => nil (setq u (url-generic-parse-url i)) (url-host u) => "requestbin.fullcontact.com" (multibyte-string-p (url-host u)) => t And this made the entire request string multibyte. I'll push a fix in a few minutes. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no