// T3chNicaL.LEad

“If you don’t know where you’re going, you’re unlikely to end up there.” – Forrest Gump

Validating URLs with SharePoint Code July 21, 2008

Filed under: SharePoint — Lawrence Cawood @ 9:29 pm
Tags: , ,

SPUrlUtility offers a host of methods useful for validating URLs. For instance, you can check if a certain character is allowed in a URL (useful for checking common invalid characters such as # % & * { } \ : ? / +), if the URL is relative or full, if the URL uses a supported protocol etc.

 

Leave a Reply