This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 66338 - Don't allow File Type extension to be entered with leading .
Summary: Don't allow File Type extension to be entered with leading .
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-09 20:04 UTC by _ tboudreau
Modified: 2005-11-30 10:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2005-10-09 20:04:32 UTC
It's unclear in the File Type template, if extensions should be entered as
".foo" or "foo" - the wizard will accept either, but probably we don't want to
allow defining a loader that will recognize "..foo" files.  Would be better not
to allow a leading .
Comment 1 pzajac 2005-10-10 14:11:50 UTC
Do you know any real file extension with dot (..foo)? 
Comment 2 Milos Kleint 2005-10-10 14:25:39 UTC
for me to fix
Comment 3 Milos Kleint 2005-10-11 10:19:59 UTC
i've improved the validation regexp pattern, so "..xxx" or ".xxx.bleh" are not
allowed anymore.
Comment 4 pzajac 2005-11-30 10:06:38 UTC
verified