blob: 1a1543c01ffa0f043992e6737aa581ddd57af2ed [file] [log] [blame]
<html><head><body>
<a href="login">this is secure</a>
<a href="http://host.com">not secure</a>
<a href="http://chromium.org/">also not secure</a>
<script>
var a = document.createElement('a');
var linkText = document.createTextNode("generated link to get port right. also secure");
a.appendChild(linkText);
a.href = "https://www2.host.com:" + location.port.toString() + "/login";
document.body.appendChild(a);
</script>
</body></html>