[
https://issues.apache.org/jira/browse/HADOOP-9018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13527631#comment-13527631
]
Arpit Agarwal commented on HADOOP-9018:
---------------------------------------
Thanks for the detailed review Chris!
comment#2 - Windows built-in utilities don't seem to handle mixed and
forward-slash separated paths consistently. Some of the feedback to HADOOP-8953
and HADOOP-8977 was to be more rigorous and just reject mixed paths, and this
jira addresses that feedback.
comment#4 - I've left them as loops to make it easier to add new test cases, if
we think of any.
Fixed the rest.
> Reject invalid Windows URIs
> ---------------------------
>
> Key: HADOOP-9018
> URL: https://issues.apache.org/jira/browse/HADOOP-9018
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: trunk-win
> Environment: Windows
> Reporter: Arpit Agarwal
> Assignee: Arpit Agarwal
> Attachments: HADOOP-9018.1.patch, HADOOP-9018.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> This JIRA is to make handling of improperly constructed file URIs for Windows
> local paths more rigorous. e.g. reject "file:///c:\\Windows"
> Valid file URI syntax explained at
> http://blogs.msdn.com/b/ie/archive/2006/12/06/file-uris-in-windows.aspx.
> Also see https://issues.apache.org/jira/browse/HADOOP-8953
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira