perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian 'cit' Adamsky <cit-embp...@spin.de>
Subject Re: Form::Validate and Internet Explorer
Date Tue, 04 Apr 2006 13:35:20 GMT
Hello,

On Mon, 3 Apr 2006 16:40:37 +0000 (GMT)
wrote Ed Grimm <edgrimm@dsblade00.wat.us.ray.com>:

> I'd personally advise against using 8-bit characters in javascript; my
> experience is that such is not portable.  Also, I trust that you are
> still checking on the back end - it's relatively easy to disable
> javascript.

Yes, that's clear. I'm checking the import form fields on the back end.
But in this case it is a e-mail address. If the user disable javascript
and enter an invalid e-mail address, he will never get a mail from the
system. 
 
> To do this check without 8-bits, I believe the logic needs to be
> reversed - what isn't legal.  I much prefer to do the check the way
> Embperl::Form::Validate does it, but I have the advantage of not
> having to support non-ASCII email addresses.

I've check it without 8-bits, but without success. This is not so
important, but I thought that this is an mistake in the generated
javascript.  

> Of course, you could always try saying IE isn't supported.  ;>

This browser is a nightmare ... ;-)

greets 
cit



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message