Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 8071 invoked from network); 13 Jul 2010 15:06:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Jul 2010 15:06:45 -0000 Received: (qmail 80518 invoked by uid 500); 13 Jul 2010 15:06:44 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 80402 invoked by uid 500); 13 Jul 2010 15:06:43 -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 80393 invoked by uid 99); 13 Jul 2010 15:06:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jul 2010 15:06:43 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jul 2010 15:06:41 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6DEwnet020639 for ; Tue, 13 Jul 2010 14:58:49 GMT Message-ID: <731851.348651279033129423.JavaMail.jira@thor> Date: Tue, 13 Jul 2010 10:58:49 -0400 (EDT) From: "Richard S. Hall (JIRA)" To: dev@felix.apache.org Subject: [jira] Created: (FELIX-2473) Subtring matching is incorreclty matching against an empty string 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 Subtring matching is incorreclty matching against an empty string ----------------------------------------------------------------- Key: FELIX-2473 URL: https://issues.apache.org/jira/browse/FELIX-2473 Project: Felix Issue Type: Bug Components: Framework, Specification compliance Affects Versions: framework-3.0.1 Reporter: Richard S. Hall Priority: Minor Fix For: framework-3.2.0 The substring matching, which is part of the SimpleFilter implementation is incorrectly matching empty strings. For example, it says "" matches "foo". This is happening because it uses empty strings as replacements for "*" when doing wildcard matching, thus it gets confused when there really is an empty string. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.