btcpayserver/BTCPayServer/Views/Error/417.cshtml
Wouter Samaey f1a222fbb3
New unit test to scan for external links/forms and if they have rel="noreferrer noopener" (#2668)
* Unit test to check for (possibly) external links

* Add rel="noreferrer noopener" to all external links so unit test passes

* Update BTCPayServer.Tests/UnitTest1.cs

Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>

* Update BTCPayServer.Tests/UnitTest1.cs

Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>

* Fixed bad merge from master

* PascalCasing

Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
2021-07-06 10:35:42 +02:00

13 lines
575 B
Plaintext

@{
Layout = "_LayoutError";
ViewData["Title"] = "417 - Expectation Failed";
}
You've unfortunately failed expectations of manager <a href="https://twitter.com/pavlenex" target="_blank" rel="noreferrer noopener">Pavlenex</a>. Poor you.
<br /><br />
<a href="https://twitter.com/pavlenex" target="_blank" rel="noreferrer noopener">
<img src="~/img/errorpages/417_pavlenex.png" alt="Pavlenex avatar" title="Pavlenex fighting the system, while building better systems" asp-append-version="true" />
</a>
<br /><br />
Check your request `Except` header and do better.