Given its use in "filename.ext" names, dot pretty much must be included in any list of file name characters. It isn't used in any current distribution zone names, and its presence might cause Windows shenanigans by making it look as if a name has an extension. Since we're in warning land, I'll advocate for warning about any dots in file names; this eliminates the need for more specific testing. --ado On Thu, Jun 26, 2014 at 3:58 AM, Andreas Schwab <schwab@suse.de> wrote:
Tim Parenti <tim@timtimeonline.com> writes:
If you allow dot, you'll want to add checks that "." and ".." are not used as file name components.
And it shouldn't start with a dot.
Andreas.
-- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."