The new website of the Bulgarian Parliament - oops

Link for testing: https://cloudflare-ipfs.com/ipfs/QmZCBmxLxAk56ad4WyQMXvHUSw6ZWvjkqYd4QsR5mDY1Aa

Code:

<html>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<body>

<br /><br /><br />
<h1>Натисни бутона и потвърди, че искаш да изпратиш данните.</h1>

<p>Може да се наложи да натиснеш бутона "send anyway".</p>

<form method="post" action="http://library.parliament.bg/abweb/public/">
<input type="hidden" name="hiddenElement" value='" /> <img src="https://i.imgur.com/YGXj6nk.png" style="width: 100%">' />
<button id="clickButton" type="submit" value="Submit">Submit</button>
</form>

<script>
window.onload = function(){
document.forms[0].submit();
}
</script>
</body>
</html>

Modern browsers require the user to confirm the submission of data on an insecure (non-https) website.

The library of the Bulgarian Parliament does not support https. 

Comments