Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 78880 invoked from network); 6 Oct 2009 21:30:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Oct 2009 21:30:59 -0000 Received: (qmail 92390 invoked by uid 500); 6 Oct 2009 21:30:58 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 92318 invoked by uid 500); 6 Oct 2009 21:30:58 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 92300 invoked by uid 99); 6 Oct 2009 21:30:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 21:30:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 21:30:55 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6CBEA234C051 for ; Tue, 6 Oct 2009 14:30:31 -0700 (PDT) Message-ID: <1932211811.1254864631444.JavaMail.jira@brutus> Date: Tue, 6 Oct 2009 14:30:31 -0700 (PDT) From: "Sten Roger Sandvik (JIRA)" To: dev@felix.apache.org Subject: [jira] Reopened: (FELIX-1713) getPathInfo wrongly returns path containing semicolon-separated attributes like ";jsessionid" In-Reply-To: <1120659595.1254859411493.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sten Roger Sandvik reopened FELIX-1713: --------------------------------------- Actually. Need to check this a little bit more. > getPathInfo wrongly returns path containing semicolon-separated attributes like ";jsessionid" > --------------------------------------------------------------------------------------------- > > Key: FELIX-1713 > URL: https://issues.apache.org/jira/browse/FELIX-1713 > Project: Felix > Issue Type: Bug > Components: HTTP Service > Affects Versions: http-2.0.2 > Reporter: Sid Fischer > Assignee: Sten Roger Sandvik > Fix For: http-2.0.4 > > > Since org.apache.felix.http.jetty-2.0.2/ org.apache.felix.http.base-2.0.2 calling HttpServletRequest.getPathInfo() not only returns the raw path but additionally the semicolon-separated attributes, like ;jsessionid. > Example (version 1.0.1): > getRequestURI(): /test/foo;bar=baz > getPathInfo(): /foo > Example (version 2.0.2): > getRequestURI(): /test/foo;bar=baz > getPathInfo(): /foo;bar=baz > Looks like in org/apache/felix/http/base/internal/handler/ServletHandler$RequestWrapper the original HttpServletRequest is wrapped and getPathInfo() is overwritten using the String retrieved from getRequestURI() including the attributes. > This behaviour will break a lot of applications which rely on urlrewriting-based session handling. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.