From 13f9224fe26f876b25d893cb43ca7b596d6ba234 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 21 Nov 2025 12:53:14 +0000 Subject: [PATCH] IOS-5500 remove encoding for published pages --- .../Modules/PublishToWeb/PublishToWebInternalViewModel.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/PublishToWeb/PublishToWebInternalViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/PublishToWeb/PublishToWebInternalViewModel.swift index 47bd029415..39566ebeb5 100644 --- a/Anytype/Sources/PresentationLayer/Modules/PublishToWeb/PublishToWebInternalViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/PublishToWeb/PublishToWebInternalViewModel.swift @@ -64,11 +64,6 @@ final class PublishToWebInternalViewModel: ObservableObject, PublishingPreviewOu AnytypeAnalytics.instance().logClickShareObjectUpdate(objectType: analyticsObjectType) } - let encodedPath = customPath - .removingPercentEncoding? - .addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed) ?? customPath - customPath = encodedPath - try await publishingService.create(spaceId: spaceId, objectId: objectId, uri: customPath, joinSpace: showJoinSpaceButton) status = try await publishingService.getStatus(spaceId: spaceId, objectId: objectId)