Shabam,
Your question is not new in dotnet Newsgroups, I did a search on Google
here are some, sorry using regex.
http://tinyurl.com/69yyr
When that does not fit, I would ask it as well crossposted as you already
did in the newsgroups.
Microsoft.public.dotnet.languages.vb (or csharp) according what you use
and
Microsoft.public.dotnet.framework.aspnet
I hope this helps?
Cor
"Shabam" <bl******@hotmail.com> > Is there a function that validates if a
URL is valid or not? Basically I'm
trying to filter out bogus input, and things like cross site scripting
attacks.
Example:
<img src="javascript:alert(document.cookie)">
Doing it by regex seems way too complicated and there could be holes in
the
logic if something is missed.