Skip to content

Commit

Permalink
Merge pull request stack72#74 from SCTHO/master
Browse files Browse the repository at this point in the history
BugFix
  • Loading branch information
stack72 committed May 6, 2014
2 parents 3b11bac + 2a3cf24 commit 5440a71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/TeamCitySharp/Connection/TeamCityCaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public void GetDownloadFormat(Action<string> downloadHandler, string urlPart, pa
throw new ArgumentException("If you are not acting as a guest you must supply userName and password");
}

urlPart = System.Web.HttpUtility.UrlEncode(urlPart);
if (string.IsNullOrEmpty(urlPart))
{
throw new ArgumentException("Url must be specfied");
Expand Down Expand Up @@ -289,4 +290,4 @@ private string GetContentType(string data)
return HttpContentTypes.TextPlain;
}
}
}
}

0 comments on commit 5440a71

Please sign in to comment.