Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wtMQZ-001A0s-2s for pgsql-www@arkaria.postgresql.org; Mon, 10 Aug 2026 09:36:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wtMQY-00GCTc-0j for pgsql-www@arkaria.postgresql.org; Mon, 10 Aug 2026 09:36:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wtMQX-00GCTT-0u for pgsql-www@lists.postgresql.org; Mon, 10 Aug 2026 09:36:13 +0000 Received: from flow-a8-smtp.messagingengine.com ([103.168.172.143]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wtMQT-00000001JJs-1lMO for pgsql-www@postgresql.org; Mon, 10 Aug 2026 09:36:12 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailflow.phl.internal (Postfix) with ESMTP id 8D9FB13803E3 for ; Mon, 10 Aug 2026 05:36:06 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Mon, 10 Aug 2026 05:36:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=abdiel.eu; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1786354566; x=1786358166; bh=waSQsFeG8vEQtCxfwlGAcm/Tl0TyANih /TeD1/VfCa4=; b=LUgFGB4KkS+dxdNt5397gvLUiurIHTLRg8OP1WYqkD6IKaNm QapG3g42dy/D5kVDw02Pi8dwx9MZELX8KMxWoQ0cYW/3yqv+E+Sh/GTLax2662TG 3hdP2dPnIvWTwBjPHvV7y05Euwo+yApDzcqYGnJhzEsq9XwENH2hJWOVu3FZyx++ +mjkTpjwjrLkUWqQlA4Mu6eovr7ldsoDuR5jzYy2zlDbUGn0AfJP9S2+0BCZJYMW FPSNU1kMzkwZdrLM2yveG64pWU1heMVwrM+b1yV2zINgrtv1mgSqFS824TV96s5Y WA8IcB93vuTzq7io1nswhuKLverH7/m3Rpo94w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1786354566; x= 1786358166; bh=waSQsFeG8vEQtCxfwlGAcm/Tl0TyANih/TeD1/VfCa4=; b=F /hU4jAdA3snqxgBC+3Q3kB3FP1n066XgX82V7a/qBVGHFlYhpvBBUjldcu/2Hxbz k4bMgg2PvorhbdyWRg99qI1dqvvfzVD3LdSf/BvtAIaIp/r6U1hZ9mUYI8quxSjA yMktg1GWmIVUYLzmTRVYhCMQ8Tin3UsF1PXKGugJfaUcdV0+gJmYXjMhA7krvFaG KUdqb4iSjkT/Ol7SRVMByN4dbJOxNfjJxUsOXk2KiXVRXH8BXBF/2aSnLTddAmqS FTaXiFgP64cgIqMdBwt6TZdtBUBT+MsRPiXsLt5i+yO9Lr03ALADH1H9JuAO8oWX U9Q3SbCs2nbxIDhOxBRbg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTFVNXU5Gm6J21ItEFmJf3T755zr6TSJjKofare+Hx4a7MtUlzkLNWGU1ZtopfNnK7 E2zf9m1QCljmPqn7/UkkJX19AmurQ13XgZbTm3Z7qBk78TmfDhq3oWuPQctBIsMkVUfYWJ /l7uS+TxTe0lF5fJoEsbOtttcbv1Rz8HNcG3HqOtuxmxgHN1RMdUWFreFrvX44XBGwPJ3o xrzdwMhm2IEeH9riONXZri5NA/tDDvcsmr2c7X5++eSUFsjmMCSgz+mbrqjQ60vYdtWH04 lrKIv0vPFYu1yJhvVODgdgrZ8LKwItU5w4fFhBeo9DrnEsjJXwv1q01Frr5ZqQblwOfTpe IQpyedkJzjBuoto8fMmOAaLg73Z4s0ch0lj4ae+U5rUYNA3Zjb4K1B4nd4OmWUM6FaHCUE A1SrSW+ECua4z99+d6DdGYCVNMAriGbihs4Sfbm3h/Y2n2qK5srQnh9jOSNSUvTN8+cFbp 7tIwbgOQeesogkEdZ5NRkG/bnzPJZ0/QyRmNgjtuHZhJydZ2grZNPhnwv6EPcxwt2DwQA+ qKuCyRchOo916mNlBm4xKrtu5HtfREcKOsKaVNNUI2N/1fU60s0EzMoGDPbWLT2h1OxqM6 Z5nbMzr6uiRMGI7J1zQiPVrB0loa6fI3UGuSFW1BqIddHKEhtu0QP5j5YsKg X-ME-Proxy: Feedback-ID: i19364b5b:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 10 Aug 2026 05:36:05 -0400 (EDT) From: "Jonathan Gonzalez V." To: pgsql-www@postgresql.org Subject: Bug during logout Date: Mon, 10 Aug 2026 11:36:03 +0200 Message-ID: <874ih29v24.fsf@abdiel.eu> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --=-=-= Content-Type: text/plain Hello!! Yesterday Jonathan S. Katz solved my issue with my account unlinking the OAuth, with that I find out that the logout link isn't working because I get a 405 when I click on it and I still logged in. The following patch fix that issue, by adding the post method to the pgweb/util/contexts.py and templates/base/page.html. Django deprecated the GET method for the logout in 4.1[0] so mostly probably this was a leftover of a migration. Giving that this could happen again, I've added a test for that too. Also, there's a change in the CSS that makes the button inside the form to look like a link. Regards!! [0] https://docs.djangoproject.com/en/dev/releases/4.1/#log-out-via-get -- Jonathan Gonzalez V. EDB https://www.enterprisedb.com --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Turn-the-logout-link-into-a-POST-method-following-Dj.patch