Skip to content

Commit

Permalink
Handle blank URLs politely (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
arvindshmicrosoft authored Feb 17, 2022
1 parent c9d115e commit 5dafb87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GUI/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ namespace Microsoft.SqlServer.Utils.Misc.SQLCallStackResolver {

internal class Utils {
internal static string GetFileContentsFromUrl(string url) {
if (string.IsNullOrEmpty(url)) return null;
var httpReq = (HttpWebRequest)WebRequest.Create(new Uri(url));

try {
Expand Down

0 comments on commit 5dafb87

Please sign in to comment.