BTCPay form on cryptocurrency page behaviour
The btcpayserver offer an onion address. If you visit https://donate.torproject.org/cryptocurrency you will find a donate form that will take you to bbtcpay.torproject.net to make a donation in bitcoin.
Btc.torproject.net also offers a .onion that is advertised via the onion-location header.
Up to now if a user was accession the .onion of donate.tpo, if they clicked on the donate form for btcpayserver, they would first go to btcpay.tp.net and then the would be able to go to the onion if the wanted.
Now this is the flow:
- If a user use any browser to access the page they will see the form that use btcpay.torproject.net
- If a user is accessing the website via the .onion they will see the form that use the .onion address of btcpay.tp.n
- If a user doesn't use js they will see both forms.
Edited by Hiro