Open Sorceror opened 9 years ago
I have merged your changes, I guess that should fix it?
Also I might add some kind of symbols filter later-on to allow/disallow some specific things in file name. Some basic options will probably be available in a static form to allow quick configurations.
Yes, it fix the particular issue I posted.. That would be great to filter it more, though our users did only append some spaces in the end of tile name so far (no special characters usage from regular users).
I have changed this issue to enhancement with appropriate title, I will be adding more filtering options in next update.
When user enters file name in the
WebFileChooser
space' '
character(s) is allowed in the beginning or end of the file, which leads toInvalidPathException
whenFile
instance is converted toPath
instance.Here are some details: http://superuser.com/questions/738002/why-folder-or-file-name-in-windows-cannot-end-with-space .