Bug#384639: Too weak hostname validation in 0.3.0

2006-08-27 Thread Ola Lundqvist
Hi Ok, that explain it. Regards, // Ola On Sun, Aug 27, 2006 at 02:26:21PM +0200, Miroslav Kure wrote: > On Sun, Aug 27, 2006 at 12:00:25PM +0200, Ola Lundqvist wrote: > > > > The reason for this was that bash -n script showed syntax error. I > > found it because lintian gave a warning. Have I

Bug#384639: Too weak hostname validation in 0.3.0

2006-08-27 Thread Miroslav Kure
On Sun, Aug 27, 2006 at 12:00:25PM +0200, Ola Lundqvist wrote: > > The reason for this was that bash -n script showed syntax error. I > found it because lintian gave a warning. Have I missed something or > is bash -n broken? I would say that bash -n is broken, because my bash manual says: case

Bug#384639: Too weak hostname validation in 0.3.0

2006-08-27 Thread Ola Lundqvist
Hi On Fri, Aug 25, 2006 at 06:13:15PM +0200, Miroslav Kure wrote: > Package: vserver-debiantools > Version: 0.3.0 > Severity: minor > > Hi Ola, > > I noticed that in 0.3.0 you changed the pattern for validating > hostnames from: >[a-z0-9]*([a-z0-9_-])[a-z0-9] > to: >[a-z0-9]*[a-z0-9_-][a

Bug#384639: Too weak hostname validation in 0.3.0

2006-08-25 Thread Miroslav Kure
Package: vserver-debiantools Version: 0.3.0 Severity: minor Hi Ola, I noticed that in 0.3.0 you changed the pattern for validating hostnames from: [a-z0-9]*([a-z0-9_-])[a-z0-9] to: [a-z0-9]*[a-z0-9_-][a-z0-9] That is wrong, because the former uses bash construction *() which means zero or