diff --git a/BTCPayServer/Controllers/UIServerController.Plugins.cs b/BTCPayServer/Controllers/UIServerController.Plugins.cs index 97f415214..d4fb40118 100644 --- a/BTCPayServer/Controllers/UIServerController.Plugins.cs +++ b/BTCPayServer/Controllers/UIServerController.Plugins.cs @@ -114,7 +114,6 @@ namespace BTCPayServer.Controllers return RedirectToAction("ListPlugins"); } - [HttpPost("server/plugins/upload")] public async Task UploadPlugin([FromServices] PluginService pluginService, List files) diff --git a/BTCPayServer/Controllers/UIServerController.Storage.cs b/BTCPayServer/Controllers/UIServerController.Storage.cs index e62313714..b104ff500 100644 --- a/BTCPayServer/Controllers/UIServerController.Storage.cs +++ b/BTCPayServer/Controllers/UIServerController.Storage.cs @@ -169,7 +169,6 @@ namespace BTCPayServer.Controllers public bool IsDownload { get; set; } } - [HttpPost("server/files/upload")] public async Task CreateFiles(List files) { diff --git a/BTCPayServer/Services/Altcoins/Monero/UI/MoneroLikeStoreController.cs b/BTCPayServer/Services/Altcoins/Monero/UI/MoneroLikeStoreController.cs index fdb8d18ac..1b29c56b1 100644 --- a/BTCPayServer/Services/Altcoins/Monero/UI/MoneroLikeStoreController.cs +++ b/BTCPayServer/Services/Altcoins/Monero/UI/MoneroLikeStoreController.cs @@ -129,6 +129,7 @@ namespace BTCPayServer.Services.Altcoins.Monero.UI } [HttpPost("{cryptoCode}")] + [DisableRequestSizeLimit] public async Task GetStoreMoneroLikePaymentMethod(MoneroLikePaymentMethodViewModel viewModel, string command, string cryptoCode) { cryptoCode = cryptoCode.ToUpperInvariant(); diff --git a/BTCPayServer/Services/Altcoins/Zcash/UI/ZcashLikeStoreController.cs b/BTCPayServer/Services/Altcoins/Zcash/UI/ZcashLikeStoreController.cs index 0b4832eae..3d29f4bd1 100644 --- a/BTCPayServer/Services/Altcoins/Zcash/UI/ZcashLikeStoreController.cs +++ b/BTCPayServer/Services/Altcoins/Zcash/UI/ZcashLikeStoreController.cs @@ -128,6 +128,7 @@ namespace BTCPayServer.Services.Altcoins.Zcash.UI return View(nameof(GetStoreZcashLikePaymentMethod), vm); } + [DisableRequestSizeLimit] [HttpPost("{cryptoCode}")] public async Task GetStoreZcashLikePaymentMethod(ZcashLikePaymentMethodViewModel viewModel, string command, string cryptoCode) {