It seems that Firefox (v 39.0) cannot send a form via http if the form contains a field of type password. After submitting the following form Firefox clears the page and stops execution of the page. Firebug shows status code 200 for this post and no erros or warnings. In Chrome the script works as expected.
<!DOCTYPE html>
<html>
<head>
<title>Password Test</title>
</head>
<body>
<?php
echo '<pre>Post-Data: '; print_r($_POST); echo '</pre>';
if (isset($_POST['password'])) {
echo '<div>Password is: ' . $_POST['password'] . '</div>';
}
?>
<form action="./" method="post">
Password: <input name="password" type="password" placeholder="Password">
<button type="submit">Submit</button>
</form>
</body>
</html>
I guess it's some security restriction. And I know that I should use https for password forms, but this is a decision of my boss. So, how can I change this Firefox behaviour?