From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bob Rogers Newsgroups: gmane.emacs.devel Subject: Re: master 118e05f570 2/2: New user option browse-url-guess-default-scheme Date: Sun, 10 Jul 2022 13:40:38 -0400 Message-ID: <25291.3862.320236.897950@orion.rgrjr.com> References: <8335f90wi3.fsf@gnu.org> <25290.65361.184285.629594@orion.rgrjr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28355"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 10 19:42:57 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oAaxN-0007B8-IK for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Jul 2022 19:42:57 +0200 Original-Received: from localhost ([::1]:44982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAaxM-0002Cb-Gr for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Jul 2022 13:42:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAavC-0001Kj-PA for emacs-devel@gnu.org; Sun, 10 Jul 2022 13:40:42 -0400 Original-Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:43530) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oAavA-00085R-P5 for emacs-devel@gnu.org; Sun, 10 Jul 2022 13:40:42 -0400 Original-Received: by mail-qk1-x735.google.com with SMTP id l26so2453092qkl.10 for ; Sun, 10 Jul 2022 10:40:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rgrjr-com.20210112.gappssmtp.com; s=20210112; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=3W6y0bY0JPkjTIHbgnvCTvpC/Z52zoeu+YMLVGNGRlo=; b=1GMCY6KylmFGFgkNTr/uUBWRqwoH/AZYBFG3ALTIu9hftpWcMf2cL8pv2TI2oLd/8t pcBJTJPPumKJrNaqEBlAgCmEYbGpttnNClJua9f61NM7fpAp7WFq4dpAcjLYGXt+1gDU agOIvHWlFyxaDEI6bfRwUp2dgEjAPSQrGdSsFl4o/sXh1HkacZVYxRtMRr8F03uKf4HF LJMdAZuGX7RsYidNZzzydooazjdG9r1Ax49NeGniIWsTBmn33r8BX96Tk/H9GOIUco9a 5WZYw5XVrKxJJNY0b9pqJ9yI+6N8BhOqyNV+iYPAgzqgvuaF0djXK+hEgLPlEwJsqcr/ I0pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=3W6y0bY0JPkjTIHbgnvCTvpC/Z52zoeu+YMLVGNGRlo=; b=g+Pl5aWnaJD8t55fiPjhRkB/RruTDbz6QaJttcRIr9/2EorH+1caBL01HXJHAKlEtM d0D4FrNblIi2XP8PtB8wVQpievpQMbjVFH/WXu7iuDtRv5S0rTUa6jnlRcl10vW5nFXL iXOtoYfaW8rBJSpfyCPkofgg5tnAseTUQEBFCK8cACfMcPgaBSYQSxsfNoG968yGq2Sb eAh/j9KcWmx7dYnmxSqjvIArBuD/i9gcpBtv+y2zHYcuGeFIX+J91JYdXGqatnS9gFYF POHz5TaZpkUBD7iO4HVApoIvdy4NNC1Csnc4ZtqHZdm9JlIuUfwZ98u84W+ngNiKJE60 y71A== X-Gm-Message-State: AJIora8Z421StSVhdXMQUC86qQg1vRxivQyPLgct8CM76BYtwgRjmN8A GzIYIdx5/BkXN8x4dsGFwXJ6tg== X-Google-Smtp-Source: AGRyM1sfc6nrDWudvs/o/RdOoolUwtmfC9VTaDc9J7qs1/qZECm9eln7Vj5Me6lOm0qnCO9MCsDk/Q== X-Received: by 2002:a05:620a:288c:b0:6b3:9d1:dbf1 with SMTP id j12-20020a05620a288c00b006b309d1dbf1mr8839873qkp.593.1657474839789; Sun, 10 Jul 2022 10:40:39 -0700 (PDT) Original-Received: from orion.rgrjr.com ([2601:19c:4600:3270:1eb7:2cff:fea9:e38b]) by smtp.gmail.com with ESMTPSA id y20-20020a37f614000000b006b55036fd3fsm4075279qkj.70.2022.07.10.10.40.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Jul 2022 10:40:39 -0700 (PDT) In-Reply-To: X-Mailer: VM 7.19 under Emacs 29.0.50 Received-SPF: none client-ip=2607:f8b0:4864:20::735; envelope-from=rogers@rgrjr.com; helo=mail-qk1-x735.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:292030 Archived-At: From: Stefan Kangas Date: Sun, 10 Jul 2022 09:59:40 -0700 Bob Rogers writes: > Seems to me we should push the guessing off onto the browser if > possible? What do you mean? I mean that if given just a domain, or even a partial domain, browsers have gotten to be pretty smart about guessing which schemes to try, e.g. preferring HTTPS over HTTP, and whether to prefix "www." or "ftp.", etc. Better if emacs doesn't try to duplicate that. On the other hand, anyone thinks there are security problems with guessing at this point, perhaps it is better not to do anything with partial URLs, and leave it up to the user. -- Bob