You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Chris Westin (JIRA)" <ji...@apache.org> on 2015/05/05 00:12:07 UTC

[jira] [Updated] (DRILL-2696) PathScanner.forResource(..., true, ...) breaks when URL-special character in resource pathname

     [ https://issues.apache.org/jira/browse/DRILL-2696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Westin updated DRILL-2696:
--------------------------------
    Fix Version/s: Future

> 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
>          Components: Execution - Flow
>            Reporter: Daniel Barclay (Drill)
>             Fix For: Future
>
>         Attachments: DRILL-2696-1Test.4.patch.txt, DRILL-2696-1Test.5.patch.txt
>
>
> 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)