Skip to content
This repository was archived by the owner on Feb 12, 2019. It is now read-only.

Commit 5440a71

Browse files
committed
Merge pull request #74 from SCTHO/master
BugFix
2 parents 3b11bac + 2a3cf24 commit 5440a71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/TeamCitySharp/Connection/TeamCityCaller.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ public void GetDownloadFormat(Action<string> downloadHandler, string urlPart, pa
6767
throw new ArgumentException("If you are not acting as a guest you must supply userName and password");
6868
}
6969

70+
urlPart = System.Web.HttpUtility.UrlEncode(urlPart);
7071
if (string.IsNullOrEmpty(urlPart))
7172
{
7273
throw new ArgumentException("Url must be specfied");
@@ -289,4 +290,4 @@ private string GetContentType(string data)
289290
return HttpContentTypes.TextPlain;
290291
}
291292
}
292-
}
293+
}

0 commit comments

Comments
 (0)