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

Summary: Don't allow File Type extension to be entered with leading .
Product: apisupport Reporter: _ tboudreau <tboudreau>
Component: TemplatesAssignee: Milos Kleint <mkleint>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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