I'm sending this from gmail in my browser. Thunderbird is totally
hammered and unusable while transferring emails from Sun->Oracle
Get requested filenames from client.
All filenames are assumed to be relative to the specified directory.
Ignore any filenames that start with non-alphanumeric characters.
[XXX - what are the limitations on application names?]
===============
Look in [1], grep on "legal" and/or "friendly" for details.
The idea is that since we are interoperable between platforms we need
to have the "lowest common denominator" for allowed filename
characters.
We did have bugs reported in this regard -- deploy a file named
"foo:xyz" on UNIX and then setup a WIndows instance. WIndows would go
boom because the ":" is illegal.
When I first wrote deployment I replaced such chars with underscores.
[1] v3\common\common-util\src\main\java\com\sun\enterprise\util\io\FileUtils.java