Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Submitting invalid or blank URLs

Quote Reply
Submitting invalid or blank URLs
I had a link submission recently where user forgot to enter the URL. By default, it gets initialized to http:// in the template and this passes the form regex check of ^\w+:

I tried a regex string from the internet for URLs as follows:

This appears to work fine. I think GT should update the default setting though as this doesn't make sense the way it is.

Peter Puglisi
Ultimate Freedom is our game.

Last edited by:

rocco: Apr 16, 2005, 5:18 PM