Re: Validating a valid URL
From: Cor Ligthert (notmyfirstname_at_planet.nl)
Date: 09/29/04
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: RSA Encryption - What I'm I doing wrong?"
- In reply to: Shabam: "Validating a valid URL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 29 Sep 2004 16:38:55 +0200
Shabam,
Your question is not new in dotnet Newsgroups, I did a search on Google
here are some, sorry using regex.
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" <blislecp@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.
>
>
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: RSA Encryption - What I'm I doing wrong?"
- In reply to: Shabam: "Validating a valid URL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|