From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Priority of url-cookie-trusted-urls vs url-cookie-untrusted-urls Date: Fri, 31 Jul 2020 07:48:09 -0700 (PDT) Message-ID: <20200731144809.6E89CC21C82@raman-glaptop.localdomain> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4066"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 31 16:49:02 2020 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 1k1WLG-0000y4-AJ for ged-emacs-devel@m.gmane-mx.org; Fri, 31 Jul 2020 16:49:02 +0200 Original-Received: from localhost ([::1]:54596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1WLF-00050J-CH for ged-emacs-devel@m.gmane-mx.org; Fri, 31 Jul 2020 10:49:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1WKX-0004Ks-Nj for emacs-devel@gnu.org; Fri, 31 Jul 2020 10:48:17 -0400 Original-Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]:42785) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k1WKV-00011B-Ac for emacs-devel@gnu.org; Fri, 31 Jul 2020 10:48:17 -0400 Original-Received: by mail-pg1-x52c.google.com with SMTP id m22so16127450pgv.9 for ; Fri, 31 Jul 2020 07:48:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:subject:message-id:date; bh=OWghbJ42FG0u5UvOTfWlwKrSGoha0gyxQmaBSUOfQfs=; b=pwLh7x+k2zR+mH+tiEH5/p53iEXEyChBEBOILa6H2yRA0jfk2ahESoHvWDxUsMcpzI qN/jsv3jRimhDtRN2aDZHmj3Wia5dATTdrkLJoxHAJh2VrWC3cC7for1Uo94hRHhTA2S Jr+QeWC9DeZKL6vIzAlVsUgTCjkoqjLHw1Lm3BQawabbv0mFSd5JcVpGJIEl9+IKdc2/ ECS3DDqzZoks1z4M6JQfrw+He5kl/zHzi49iXVCe8oXOH3fjHhp6QbFh2d4beoCb4bFV CzVvV3KJemqKYCPc50FDPf62PloW+ENBREkCGNwzh1VbcLDSG79sMgoTo3S6FY8Lz0RQ kKpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:message-id:date; bh=OWghbJ42FG0u5UvOTfWlwKrSGoha0gyxQmaBSUOfQfs=; b=koHl/OXlIhaNHoETQ0wDc6br1x/0JQJ2fyNP1g7wMamE3BdFX55DEru3Tc/zvL/Fpk XF+Da8FLYdUWvYHDF53TyJNQZqr1Xh+HIuaJb9jDclNOpoMvvS82wfLig3E4260jL+Ci pVyJaEsCmHEgtQGOrxQr/KbSvJ8+wmuoHltGB7CYFdrWXRN3hqKdj1tyBm4oKuEdDouV wfqBuUg5Mov1bXQo3CuPfvbnLKR2xafK/u0LqcRl4tcJi3nn7ogkcPI41lsKkfIpqNB/ gnfXr6QnLGFoVDtAMNUGMVeiUeuW0BTsYQeEqvSDEgf7/IeUYP3+S5F4Sq7iTEKawZxi 1Ogw== X-Gm-Message-State: AOAM530peDXIr3kAHLgYkoPS17N0xUyYUOQXd05JROwh0b2AFY/nWuAp X+4MQn4zGZ5d3PsjvYErFLxtiilBVMjH1g== X-Google-Smtp-Source: ABdhPJxhOUj1NLGfl+/lNX/WXFO3+390xeAr0kasB9Ckwf+hEIDJDqupPLKQ9GBozVk9Cq+87YVBBg== X-Received: by 2002:aa7:94b5:: with SMTP id a21mr3987111pfl.237.1596206891609; Fri, 31 Jul 2020 07:48:11 -0700 (PDT) Original-Received: from raman-glaptop.localdomain (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id z77sm10513929pfc.199.2020.07.31.07.48.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2020 07:48:10 -0700 (PDT) Original-Received: by raman-glaptop.localdomain (Postfix, from userid 13930) id 6E89CC21C82; Fri, 31 Jul 2020 07:48:09 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=raman@google.com; helo=mail-pg1-x52c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -185 X-Spam_score: -18.6 X-Spam_bar: ------------------ X-Spam_report: (-18.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:253365 Archived-At: The URL package has these two custom settings: url-cookie-trusted-urls url-cookie-untrusted-urls both take a list of regex. >From what I observe, if you set url-cookie-untrusted-urls to '(".*"), then the setting in url-cookie-trusted-urls e.g. '("example.com") has no effect. This makes it hard to set up emacs/eww to not trust any domain, and then progressively allow a few domains to set cookies; could the priority order of these settings be reversed? -- --