Skip to content

Commit 86be872

Browse files
committed
fix(Core): remove slow & insecure pastie.org
It doesn't support HTTPS in 2026 and it's rather slow.
1 parent a631d5d commit 86be872

4 files changed

Lines changed: 0 additions & 60 deletions

File tree

SnapX.Core/Upload/Enums.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ public enum TextDestination
3636
Hastebin,
3737
[Description("OneTimeSecret")]
3838
OneTimeSecret,
39-
[Description("Pastie")]
40-
Pastie,
4139
CustomTextUploader, // Localized
4240
FileUploader // Localized
4341
}

SnapX.Core/Upload/Text/Pastie.cs

Lines changed: 0 additions & 51 deletions
This file was deleted.

SnapX.Core/Upload/UploaderFactory.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ static UploaderFactory()
115115
Register(new OneTimeSecretTextUploaderService());
116116
Register(new Paste2TextUploaderService());
117117
Register(new Paste_eeTextUploaderService());
118-
Register(new PastieTextUploaderService());
119118
Register(new PastebinTextUploaderService());
120119
Register(new YourlsURLShortenerService());
121120
Register(new ZeroWidthURLShortenerService());

SnapX.Core/Upload/UploadersConfig.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,6 @@ public class UploadersConfig : SettingsBase<UploadersConfig>
105105

106106
#endregion OneTimeSecret
107107

108-
#region Pastie
109-
110-
public bool PastieIsPublic { get; set; } = false;
111-
112-
#endregion Pastie
113-
114108
#endregion Text uploaders
115109

116110
#region File uploaders

0 commit comments

Comments
 (0)