[
https://issues.apache.org/jira/browse/HADOOP-9018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13528413#comment-13528413
]
Arpit Agarwal commented on HADOOP-9018:
---------------------------------------
Hi Ivan,
Please see Daryn's comments to HADOOP-8977 for what this jira is attempting to
fix.
"/X:" is not the scheme but the scheme-specific part, which can contain a
leading forward slash.
#3 - I fixed the comparison. It is needed to restrict backslash interpretation
to Windows local paths.
It is not my goal to address HADOOP-8139 with this patch. No new checks are
being enforced for relative paths, hence there are no new test cases for
relative paths.
Thanks.
> 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.2.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