@ -49,7 +49,7 @@
$data = file_get_contents('php://input');
if (!$data) {
edie("no val given");
} elseif (count($data) > 500) {
} elseif (strlen($data) > 500) {
edie("data too long");
} else {
set_redis($key, $data);
The note is not visible to the blocked user.