Possible Duplicate:
Best way to handle security and avoid XSS with user entered URLs
Using .Net 4, I have a user setting for specifying the URL to be linked via the company LOGO.
I would like to make this secure from an XSS standpoint, but it doesn't seem like the .Net stuff is making it easy. I've been using Uri, but it seems to puke all over itself when the URL is relative.
How does one go about doing this in a manner that's XSS safe?