You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Daniel Barclay (Drill) (JIRA)" <ji...@apache.org> on 2015/04/19 05:50:58 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=14500864#comment-14500864 ] 

Daniel Barclay (Drill) edited comment on DRILL-2696 at 4/19/15 3:50 AM:
------------------------------------------------------------------------

Review of unit test (part 1) is at https://reviews.apache.org/r/33322/.


was (Author: dsbos):
Review of unit (part 1) is at https://reviews.apache.org/r/33322/.

> 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)
>         Attachments: DRILL-2696-1Test.4.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)