From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#35688: url-auth prompt is blank when realm is the empty string Date: Wed, 15 May 2019 06:15:03 +0200 Message-ID: <87h89wxsjc.fsf@mouse.gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="141770"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 35688@debbugs.gnu.org To: Thomas Fitzsimmons Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 15 06:16:57 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQlLc-000akd-Ls for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 May 2019 06:16:56 +0200 Original-Received: from localhost ([127.0.0.1]:59124 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQlLb-0007wk-Cr for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 May 2019 00:16:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQlKm-0007TW-5v for bug-gnu-emacs@gnu.org; Wed, 15 May 2019 00:16:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQlKl-0005EQ-6E for bug-gnu-emacs@gnu.org; Wed, 15 May 2019 00:16:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37135) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQlKl-0005Dl-2S for bug-gnu-emacs@gnu.org; Wed, 15 May 2019 00:16:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hQlKk-0002bI-DP for bug-gnu-emacs@gnu.org; Wed, 15 May 2019 00:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 May 2019 04:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35688 X-GNU-PR-Package: emacs Original-Received: via spool by 35688-submit@debbugs.gnu.org id=B35688.15578937146970 (code B ref 35688); Wed, 15 May 2019 04:16:02 +0000 Original-Received: (at 35688) by debbugs.gnu.org; 15 May 2019 04:15:14 +0000 Original-Received: from localhost ([127.0.0.1]:50675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQlJy-0001o1-CT for submit@debbugs.gnu.org; Wed, 15 May 2019 00:15:14 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:36426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQlJw-0001lB-1E for 35688@debbugs.gnu.org; Wed, 15 May 2019 00:15:13 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1hQlJs-0005UB-N2; Wed, 15 May 2019 06:15:10 +0200 In-Reply-To: (Thomas Fitzsimmons's message of "Sat, 11 May 2019 16:38:27 -0400") 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: 209.51.188.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:159311 Archived-At: Thomas Fitzsimmons writes: > See for example: > > (url-retrieve-synchronously "https://outlook.office365.com/EWS/Exchange.asmx") > > The attached patch makes the prompt contain the full URL, and applies to > all auth schemes. However, maybe each auth scheme should decide how to > handle a "" realm and to fix this particular case I should just change > url-basic-auth? I'm open to suggestions. > > Anyway, I'm filing this bug because I think prompting for a username and > password while not showing the user the requested URL is a usability > problem. I think your fix sounds sufficient, so I've applied it to Emacs 27.1 as is. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no