Hey,
ww can as well be a subdomain...
It's hard to do a good email/www regexp ( ive seen some couple pages monsters)
On Thu, Jul 3, 2008 at 5:58 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi to all,
>
> strings like ww.domain.com or ww.domain passing de URL validation
> rule:
>
> var $validate = array(
> 'website' => array('rule' => 'url',
> 'required' => true,
> 'allowEmpty' => false,
> 'message' => 'URL
> error')
> );
>
> The same strings with http:// before, like http://ww.domain or
> http://ww.domain.com are well filtered.
>
> It's my fault?
>
> Thanks for advance,
> Israel
> >
>
--
Marcin Domanski
http://kabturek.info
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---