Jump to content

hitechdk

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Activity
    Developer

hitechdk's Achievements

Newbie

Newbie (1/14)

  • Dedicated Rare
  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

1

Reputation

  1. Luckily my webhoster "anknowledged" the problem and turned of Suhosin for their PHP 5.6 servers. This seems to have fixed the problem for now.
  2. Yesterday my host upgraded to PHP 5.6.x (with SUHOSIN) and all of a sudden some of the functionality in the backend stopped working (and the same thing can also be present ind the frontend) After spending some hours investigation i found out that it was the test for empty POST variables that stopped working (function Tools::isSubmit) The default admin theme (PS 1.6) has more than 100 entries of the form: <button type="submit" ...> I made a small script to test if the bug is present: <?php if ($_SERVER['REQUEST_METHOD'] == 'POST') { if (isset($_POST['emptypostvalue'])) { echo "Empty POST variable received. Not hit by bug."; die; } else { print "<pre>"; echo "Empty POST variable not received. Your system is affected. "; print "Raw post data content: "; print $data; print " \$_POST content: "; var_dump($_POST); print "</pre>"; die; } } ?> Are you hit by the PHP 5.6.x / SUHOSIN empty POST value bug? <form method="POST" action="test-empty-post-bug.php"> <input type="hidden" name="postvalue" value="1"> <button type="submit" name="emptypostvalue"> Test now </button> </form>
×
×
  • Create New...