mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-20 13:34:37 +01:00
Sanitizer: Allow bitcoin and lightning URI schemes (#6002)
Fixes #6001.
This commit is contained in:
parent
03ba6b39ec
commit
181e4fd2fc
1 changed files with 2 additions and 0 deletions
|
@ -334,6 +334,8 @@ namespace BTCPayServer.Hosting
|
|||
htmlSanitizer.AllowedAttributes.Add("webkitallowfullscreen");
|
||||
htmlSanitizer.AllowedAttributes.Add("allowfullscreen");
|
||||
htmlSanitizer.AllowedSchemes.Add("mailto");
|
||||
htmlSanitizer.AllowedSchemes.Add("bitcoin");
|
||||
htmlSanitizer.AllowedSchemes.Add("lightning");
|
||||
return htmlSanitizer;
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue