Skip to content

Instantly share code, notes, and snippets.

@jz5
Created December 9, 2013 12:19
Show Gist options
  • Save jz5/7871437 to your computer and use it in GitHub Desktop.
Save jz5/7871437 to your computer and use it in GitHub Desktop.
QueryString
Dim q = Context.Request.QueryString.Get("q")
If Not Uri.IsWellFormedUriString(q, UriKind.Absolute) Then
Exit Sub
End If
Dim url = New Uri(q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment