mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
POS: Fix form redirect in conjunction with root path setting (#6506)
* POS: Fix form redirect in conjunction with root path setting Fixes #6493 and also adds missing status messages on the forms pages. * Fix other occurrences
This commit is contained in:
@@ -404,9 +404,10 @@ namespace BTCPayServer.Controllers
|
||||
var bip21 = network.GenerateBIP21(address?.ToString(), null);
|
||||
if (allowedPayjoin)
|
||||
{
|
||||
bip21.QueryParams.Add(PayjoinClient.BIP21EndpointKey,
|
||||
Request.GetAbsoluteUri(Url.Action(nameof(PayJoinEndpointController.Submit), "PayJoinEndpoint",
|
||||
new { cryptoCode = walletId.CryptoCode })));
|
||||
var endpoint = Request.GetAbsoluteUriNoPathBase(
|
||||
Url.Action(nameof(PayJoinEndpointController.Submit), "PayJoinEndpoint",
|
||||
new { cryptoCode = walletId.CryptoCode })).ToString();
|
||||
bip21.QueryParams.Add(PayjoinClient.BIP21EndpointKey, endpoint);
|
||||
}
|
||||
|
||||
string[]? labels = null;
|
||||
|
||||
Reference in New Issue
Block a user