diff --git a/ListDownloader/App.config b/ListDownloader/App.config new file mode 100644 index 0000000..6522b54 --- /dev/null +++ b/ListDownloader/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/ListDownloader/Download/Downloader.cs b/ListDownloader/Download/Downloader.cs index 921c3c0..4b39cc0 100644 --- a/ListDownloader/Download/Downloader.cs +++ b/ListDownloader/Download/Downloader.cs @@ -104,7 +104,8 @@ void Download() /// void DownloadSafe() { - WebRequest request = WebRequest.Create( mInfo.mUrl ); + string url = new Uri( mInfo.mUrl ).AbsoluteUri; + WebRequest request = WebRequest.Create( url ); using( WebResponse response = request.GetResponse() ) { string filePathAfterLoad = ResultPathCalc( response ); diff --git a/ListDownloader/ListDownloader.csproj b/ListDownloader/ListDownloader.csproj index 4c4d5e2..e9571e4 100644 --- a/ListDownloader/ListDownloader.csproj +++ b/ListDownloader/ListDownloader.csproj @@ -85,6 +85,9 @@ false + + +