easy-handlers: contrary to the docs, integer parameters are parsed with :junk-allowed t

Anton Vodonosov avodonosov at yandex.ru
Sun Jun 30 22:09:58 UTC 2013


Reading the doc here http://weitz.de/hunchentoot/#easy-handlers
>  If parameter-type is 'INTEGER and the parameter string consists solely
> of decimal digits, var's value will be the corresponding integer, otherwise NIL.

But when I enter "50jj99" to the form, the parameter gets value 50.

The doc and implementation disagree.

Best regards,
- Anton



More information about the Tbnl-devel mailing list