Can you give some details about what you are running from?  Source?
 version?
(This sounds like a bug - although  the first isn't a well-formed web2py
url, it is a valid url)



On Mon, Nov 17, 2008 at 11:21 AM, pigmej <[EMAIL PROTECTED]> wrote:

>
> 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 web2py@googlegroups.com
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