controller: trim arguments before passing to the fetcher
This commit is contained in:
parent
6889b42963
commit
a9455c0608
|
@ -877,6 +877,9 @@ namespace SparkleShare {
|
||||||
|
|
||||||
public void FetchFolder (string server, string remote_folder)
|
public void FetchFolder (string server, string remote_folder)
|
||||||
{
|
{
|
||||||
|
server = server.Trim ();
|
||||||
|
remote_folder = remote_folder.Trim ();
|
||||||
|
|
||||||
if (!Directory.Exists (SparklePaths.SparkleTmpPath))
|
if (!Directory.Exists (SparklePaths.SparkleTmpPath))
|
||||||
Directory.CreateDirectory (SparklePaths.SparkleTmpPath);
|
Directory.CreateDirectory (SparklePaths.SparkleTmpPath);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue