Hi pigmej,

On Nov 17, 8:21 pm, pigmej <[EMAIL PROTECTED]> wrote:

> db.pages.original_link.requires=IS_NULL_OR(IS_URL
> (error_message="..."))
>
> it returns error forhttp://domain.com/file.html
> but it works forhttp://domain.com
>
> Is it bug or "feature" ?

I just tried testing this with the latest gluon/validators.py and it
works fine!  IS_URL considers both inputs valid.


--Jonathan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to