mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-20 13:34:37 +01:00
Explicitly disable fsize limit for some routes (#4045)
This commit is contained in:
parent
d0b26e9f69
commit
b6062a94b9
4 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,6 @@ namespace BTCPayServer.Controllers
|
|||
return RedirectToAction("ListPlugins");
|
||||
}
|
||||
|
||||
|
||||
[HttpPost("server/plugins/upload")]
|
||||
public async Task<IActionResult> UploadPlugin([FromServices] PluginService pluginService,
|
||||
List<IFormFile> files)
|
||||
|
|
|
@ -169,7 +169,6 @@ namespace BTCPayServer.Controllers
|
|||
public bool IsDownload { get; set; }
|
||||
}
|
||||
|
||||
|
||||
[HttpPost("server/files/upload")]
|
||||
public async Task<IActionResult> CreateFiles(List<IFormFile> files)
|
||||
{
|
||||
|
|
|
@ -129,6 +129,7 @@ namespace BTCPayServer.Services.Altcoins.Monero.UI
|
|||
}
|
||||
|
||||
[HttpPost("{cryptoCode}")]
|
||||
[DisableRequestSizeLimit]
|
||||
public async Task<IActionResult> GetStoreMoneroLikePaymentMethod(MoneroLikePaymentMethodViewModel viewModel, string command, string cryptoCode)
|
||||
{
|
||||
cryptoCode = cryptoCode.ToUpperInvariant();
|
||||
|
|
|
@ -128,6 +128,7 @@ namespace BTCPayServer.Services.Altcoins.Zcash.UI
|
|||
return View(nameof(GetStoreZcashLikePaymentMethod), vm);
|
||||
}
|
||||
|
||||
[DisableRequestSizeLimit]
|
||||
[HttpPost("{cryptoCode}")]
|
||||
public async Task<IActionResult> GetStoreZcashLikePaymentMethod(ZcashLikePaymentMethodViewModel viewModel, string command, string cryptoCode)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue