Validators and non ASCII characters

6 views
Skip to first unread message

Markus Gritsch

unread,
Dec 27, 2007, 5:36:05 PM12/27/07
to gl...@googlegroups.com
Hi,

I downloaded the cookbook example
https://mdp.cti.depaul.edu/appliances/default/download/app.source.130193843596.tar
and installed it. It seems that IS_NOT_IN_DB

db.category.name.requires=[IS_NOT_EMPTY(),IS_NOT_IN_DB(db,'category.name')]

is not working for non ASCII characters. For example, I can insert
multiple categories using a name containing an Umlaut: 'Süßspeise', or
as a trivial example the Euro sign '€'.

Markus

mdipierro

unread,
Dec 28, 2007, 2:24:44 AM12/28/07
to Gluon Web Framework
This may be a bug. Let me look and get back to you.
Thanks for letting me know.

mdipierro

unread,
Dec 28, 2007, 5:24:25 AM12/28/07
to Gluon Web Framework
Turns out this is more than a bug. This bugs cases a security
vulnerability. I fixed it and posted

http://mdp.cti.depaul.edu/examples/static/gluon_v1.16.1b.zip

I also fixed the typos indicated by other users. I will make it
official soon.

Markus Gritsch

unread,
Dec 28, 2007, 5:41:31 AM12/28/07
to gl...@googlegroups.com
On 28/12/2007, mdipierro <mdip...@cs.depaul.edu> wrote:
>
> Turns out this is more than a bug. This bugs cases a security
> vulnerability. I fixed it and posted
>
> http://mdp.cti.depaul.edu/examples/static/gluon_v1.16.1b.zip

Yes, this works fine now, thank you.

Reply all
Reply to author
Forward
0 new messages