[
https://issues.apache.org/jira/browse/IO-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13130699#comment-13130699
]
Joerg Schaible commented on IO-289:
-----------------------------------
It's unfortunately not enough to check for illegal characters. "aux.txt" or
"nul.txt" are also illegal because of the file's basename matching a device
name.
> Cleaning illegal characters from a file name
> --------------------------------------------
>
> Key: IO-289
> URL: https://issues.apache.org/jira/browse/IO-289
> Project: Commons IO
> Issue Type: Improvement
> Components: Utilities
> Affects Versions: 2.1
> Reporter: Emmanuel Bourg
> Priority: Minor
> Fix For: 2.2
>
>
> FilenameUtils is missing a method to remove illegal characters from a file
> name. For example on Windows these characters are not allowed: /!|><*:?".
> The characters could be either removed or replaced by another one (a space or
> an underscore for example).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira