controller: trim arguments before passing to the fetcher

This commit is contained in:
Hylke 2011-06-24 18:39:59 +01:00
parent 6889b42963
commit a9455c0608

View file

@ -877,6 +877,9 @@ namespace SparkleShare {
public void FetchFolder (string server, string remote_folder)
{
server = server.Trim ();
remote_folder = remote_folder.Trim ();
if (!Directory.Exists (SparklePaths.SparkleTmpPath))
Directory.CreateDirectory (SparklePaths.SparkleTmpPath);