On Feb 6, 2011, at 11:40 AM, Luther Goh Lu Feng wrote:
> 
> Is there an equivalent to 
> http://docs.djangoproject.com/en/dev/ref/models/fields/#urlfield
> in web2py?
> 
> If not, how does one validate an external url that is to be stored in
> the database?

There are validators, IS_URL and IS_HTTP_URL, that check the syntax but don't 
actually do an access. Doing an access with an arbitrary user-entered URL seems 
pretty risky.

Reply via email to