From d57b9765d02114b13add06205462dc03fe11be9a Mon Sep 17 00:00:00 2001 From: KoalaBear Date: Thu, 31 Oct 2024 07:11:41 +0100 Subject: [PATCH] - Fix (partially) #142 --- src/OpenDirectoryDownloader/OpenDirectoryIndexer.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/OpenDirectoryDownloader/OpenDirectoryIndexer.cs b/src/OpenDirectoryDownloader/OpenDirectoryIndexer.cs index 27f12c7e..fc2ffc6a 100644 --- a/src/OpenDirectoryDownloader/OpenDirectoryIndexer.cs +++ b/src/OpenDirectoryDownloader/OpenDirectoryIndexer.cs @@ -471,8 +471,7 @@ public async void StartIndexingAsync() Session.TotalFiles = Session.Root.TotalFiles; Session.TotalFileSizeEstimated = Session.Root.TotalFileSize; - // Replaced WebUtility.UrlDecode with Uri.UnescapeDataString because of issues with Google Drive alternatives (+ sign) - IEnumerable distinctUrls = Session.Root.AllFileUrls.Distinct().Select(x => Uri.UnescapeDataString(x)).OrderBy(x => x, NaturalSortStringComparer.InvariantCulture); + IEnumerable distinctUrls = Session.Root.AllFileUrls.Distinct().OrderBy(x => x, NaturalSortStringComparer.InvariantCulture); if (Session.TotalFiles != distinctUrls.Count()) {