Return-Path: X-Original-To: apmail-tapestry-dev-archive@www.apache.org Delivered-To: apmail-tapestry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D014210A39 for ; Sat, 3 Aug 2013 11:40:01 +0000 (UTC) Received: (qmail 28104 invoked by uid 500); 3 Aug 2013 11:40:01 -0000 Delivered-To: apmail-tapestry-dev-archive@tapestry.apache.org Received: (qmail 27915 invoked by uid 500); 3 Aug 2013 11:39:52 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 27884 invoked by uid 99); 3 Aug 2013 11:39:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Aug 2013 11:39:49 +0000 Date: Sat, 3 Aug 2013 11:39:49 +0000 (UTC) From: "Massimo Lusetti (JIRA)" To: commits@tapestry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (TAP5-2070) Respond with a HTTP 404 if the page is activated with an activation context not explicitly supported by the page itself MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TAP5-2070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Massimo Lusetti updated TAP5-2070: ---------------------------------- Attachment: (was: 0001-TAP5-2070-Implement-logic-for-recognize-requests-to-.patch) > Respond with a HTTP 404 if the page is activated with an activation context not explicitly supported by the page itself > ----------------------------------------------------------------------------------------------------------------------- > > Key: TAP5-2070 > URL: https://issues.apache.org/jira/browse/TAP5-2070 > Project: Tapestry 5 > Issue Type: Improvement > Components: tapestry-core > Affects Versions: 5.4 > Reporter: Massimo Lusetti > Assignee: Massimo Lusetti > > The behavior from day one for pages within Tapestry is to being able to serve requests that come with an activation context with more parameters that the ones declared by the page itself. > This feature lead the framework to serve requests that comes to URL which are not explicitly declared by the pages, for example a page named: Super with an activation event handler method like this one: > onActivate(String character) { ... } > will finely serve requests for: > /super/mario > /super/luigi > /super/wario > /super/waluigi > but it will also serve requests for: > /super/mario/luigi/wario/waluigi > This issue is to change that behavior. > If the page does declare a specific activation event handler method the corresponding serving URLs should adhere strictly, otherwise a HTTP 404 is raised. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira