diff --git a/pages/share/get.php b/pages/share/get.php index e4bea98..f0a9a56 100644 --- a/pages/share/get.php +++ b/pages/share/get.php @@ -50,7 +50,7 @@ - + = result.length)) { + if ((null != result) && (MAX_PARAM_SIZE >= result.length)) { document.getElementById("secret").value = result; document.getElementById("share-secret-btn").disabled = false;