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 161292

Summary: Improve validation of a Hudson instance name
Product: connecteddeveloper Reporter: Petr Dvorak <joshis>
Component: HudsonAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Petr Dvorak 2009-03-26 17:52:14 UTC
Product Version: NetBeans IDE Dev (Build 200903251400)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Linux version 2.6.27-14-generic running on i386; UTF-8; en_US (nb)

Currently, it is possible to create an instance called "<b>MMM</b>mmm" or "Hello\nWorld". In spite the fact this causes
no serious problems, the validation of a hudson instance name could be improved to allow only names matching:

[a-zA-Z0-9 _-]{3, 40}