[
https://issues.apache.org/jira/browse/IO-585?focusedWorklogId=384018&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-384018
]
ASF GitHub Bot logged work on IO-585:
-------------------------------------
Author: ASF GitHub Bot
Created on: 09/Feb/20 00:07
Start Date: 09/Feb/20 00:07
Worklog Time Spent: 10m
Work Description: coveralls commented on issue #79: IO-585: Sanitize
double slash after prefix
URL: https://github.com/apache/commons-io/pull/79#issuecomment-583789704
[](https://coveralls.io/builds/28610568)
Coverage decreased (-0.02%) to 89.457% when pulling
**d606ae3de8be22a47735edffa2c64130be831036 on
adammcclenaghan:IO-585-improve-windows-path-sanitization** into
**11f0abe7a3fb6954b2985ca4ab0697b2fb489e84 on apache:master**.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 384018)
Time Spent: 1.5h (was: 1h 20m)
> FilenameUtils#normalizeNoEndSeparator does not sanitize multiple backslashes
> directly after the colon in windows file paths
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: IO-585
> URL: https://issues.apache.org/jira/browse/IO-585
> Project: Commons IO
> Issue Type: Bug
> Affects Versions: 2.6
> Reporter: Adam McClenaghan
> Priority: Minor
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> FilenameUtils#normalizeNoEndSeparator states in the javadoc that :
> "A double slash will be merged to a single slash (but UNC names are
> handled)."
> It has been observed that if a double backslash occurs after the colon in a
> windows filepath, then the returned path still contains this double
> backslash. For example:
> {code:java}
> C:\\Program Files\\ExampleDirectory --> C:\\Program Files\ExampleDirectory
> {code}
> While the expectation is that we should be returning ' C:\Program
> Files\ExampleDirectory '
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)