Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B4756200BA7 for ; Fri, 21 Oct 2016 16:16:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B340B160AF2; Fri, 21 Oct 2016 14:16:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0511E160AE9 for ; Fri, 21 Oct 2016 16:16:04 +0200 (CEST) Received: (qmail 48213 invoked by uid 500); 21 Oct 2016 14:15:59 -0000 Mailing-List: contact dev-help@shiro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@shiro.apache.org Delivered-To: mailing list dev@shiro.apache.org Received: (qmail 48094 invoked by uid 99); 21 Oct 2016 14:15:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2016 14:15:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9C4D62C0B04 for ; Fri, 21 Oct 2016 14:15:58 +0000 (UTC) Date: Fri, 21 Oct 2016 14:15:58 +0000 (UTC) From: "Brian Demers (JIRA)" To: dev@shiro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (SHIRO-595) Allow for POST only logout requests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 21 Oct 2016 14:16:05 -0000 Brian Demers created SHIRO-595: ---------------------------------- Summary: Allow for POST only logout requests Key: SHIRO-595 URL: https://issues.apache.org/jira/browse/SHIRO-595 Project: Shiro Issue Type: Bug Reporter: Brian Demers See: http://stackoverflow.com/questions/3521290/logout-get-or-post A logout causes a change of state, so should NOT be a GET. Also, due to browser pre-fetching, a typing {{http://localhost:8080/log}} may cause a prefetch to {{/logout}} To stay backwards compatible, this need to be an op-in feature. The proposed solution set a {{shiro.postOnlyLogout = true}} attribute, (same as {{logout.postOnlyLogout = true}}) -- This message was sent by Atlassian JIRA (v6.3.4#6332)