tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

iframe-link-upgrade.sub.html (621B)


      1 <!--
      2  This document has set "Content-Security-Policy: upgrade-insecure-requests". It
      3  contains an iframe. This iframe clicks on a link to the same host. The link
      4  must be upgraded.
      5 
      6  This is a bit of a hack. UPGRADE doesn't upgrade the port number. So if
      7  the url is not upgraded, the url is invalid (http over the https port).
      8  The expected behavior is that the url is upgraded and the page loads.
      9 -->
     10 <iframe src= "./resources/click-on-link.sub.html?url=http://{{host}}:{{ports[https][0]}}/upgrade-insecure-requests/link-upgrade/resources/post-message-to-opener.sub.html%3Fmessage=iframe-link-upgrade">
     11 </iframe>