Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 641AF17A90 for ; Mon, 6 Apr 2015 04:09:13 +0000 (UTC) Received: (qmail 74800 invoked by uid 500); 6 Apr 2015 04:09:13 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 74324 invoked by uid 500); 6 Apr 2015 04:09:12 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 74308 invoked by uid 99); 6 Apr 2015 04:09:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2015 04:09:12 +0000 Date: Mon, 6 Apr 2015 04:09:12 +0000 (UTC) From: "Daniel Barclay (Drill) (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-2696) PathScanner.forResource(..., true, ...) breaks when URL-special character in resource pathname MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Daniel Barclay (Drill) created DRILL-2696: --------------------------------------------- Summary: PathScanner.forResource(..., true, ...) breaks when URL-special character in resource pathname Key: DRILL-2696 URL: https://issues.apache.org/jira/browse/DRILL-2696 Project: Apache Drill Issue Type: Bug Reporter: Daniel Barclay (Drill) In class org.apache.drill.common.util.PathScanner, method forResource(...), when called in return-classpath-root mode (with a value of true for parameter stripName), breaks if the resource pathname contains any character that is not represented by itself in a URL (e.g., ":", "%"). (The method returns the resource URL rather than the requested corresponding classpath root URL.) -- This message was sent by Atlassian JIRA (v6.3.4#6332)