aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Transfers
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-11-01 09:58:00 -0500
committerGitHub <noreply@github.com>2022-11-01 09:58:00 -0500
commitfa536c755972040bf0000e95b8cb2d39ea7f1300 (patch)
treec6410dcdffefb36274de127eb07498a2bb8a4750 /src/slskd/Transfers
parent1942348884602745ca82ffa577c1953867dea68a (diff)
parentcdd4e53a5dd202828ae568e64830905a6f66beeb (diff)
downloadslskd-fa536c755972040bf0000e95b8cb2d39ea7f1300.tar.gz
Merge pull request #724 from slskd/paths
Don't use the built-in System.IO.Path methods for handling normalized paths
Diffstat (limited to 'src/slskd/Transfers')
-rw-r--r--src/slskd/Transfers/Downloads/DownloadService.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slskd/Transfers/Downloads/DownloadService.cs b/src/slskd/Transfers/Downloads/DownloadService.cs
index 2f06b665..1d1b6dfc 100644
--- a/src/slskd/Transfers/Downloads/DownloadService.cs
+++ b/src/slskd/Transfers/Downloads/DownloadService.cs
@@ -451,6 +451,7 @@ namespace slskd.Transfers.Downloads
System.Diagnostics.Stopwatch sw = default;
+ // todo: remove this. or check that Path.GetFileName works as expected if it is to be kept
if (experimental)
{
sw = new System.Diagnostics.Stopwatch();