directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fe...@otego.com>
Subject Re: [Studio] Integer Editor does not accept negative numbers
Date Fri, 16 Oct 2009 07:57:25 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> Another issue: the RFC says "unlimited magnitude". However the integer
>> editor only accepts the Java integer range -2^31...2^31-1. To solve that
>> we need to remove the "spinner" widget we use and replace it with an
>> normal text field and check the content using a regular expression.
>>   
> Or use a long. It's unlikely that someone will ever inject some value
> bigger than |2^63| ...

If it's allowed to have bigger values and it needs to be fixed anyway,
we shouldn't do any assumptions what the user maybe may do, but fix it
according to the RFC ...

Just my 2 Cents ...

Regards
Felix

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrYJ2UACgkQ2lZVCB08qHGYfwCggfTSDpA3N8aSXQTi3+TkM485
Q3MAn1tSl46124NHkHvIuGLLpw2KDiNE
=md0t
-----END PGP SIGNATURE-----

Mime
View raw message