Jon Stevens <[EMAIL PROTECTED]> writes:

> Nice code DLR...

Thanks Jon.

> on 9/25/01 6:14 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> 
> >                     acceptLang.quality =
> >                         Float.parseFloat(q.substring(index + 1));
> 
> If someone hacks things and passes in a float that won't parse, this will
> cause a parse exception. You should probably try/catch this and then in the
> catch just have it set to 0.0 or something...

Done, Apache style.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to