db.pages.original_link.requires=IS_NULL_OR(IS_URL
(error_message="..."))

it returns error for http://domain.com/file.html
but it works for http://domain.com

Is it bug or "feature" ?

On Nov 12, 5:25 am, Jonathan Benn <[EMAIL PROTECTED]> wrote:
> Hi Achipa,
>
> On Nov 12, 1:54 am, achipa <[EMAIL PROTECTED]> wrote:
>
> > Maybe it would be worth generalizing it a bit, a sort of
> > IS_URI(schema=['generic'|'http'|'ftp'|'mailto']) and have http as the
> > default?
>
> Good idea.  I will do so.
>
> For the moment,IS_URLwill only support 'generic' and 'http', but I
> suppose that as soon as people need specific support for other schemes
> we/they will implement those additions.
>
> Thanks everyone for the help! :)
>
> --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