compatibility update for php7/8 #61

Merged
muppeth merged 2 commits from php_update into master 2022-03-23 11:05:12 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ $PGP_HOME="/var/gpg/.phkp";
$MAX_KEYSIZE=102400;
if (ereg("/pks\/add",$_SERVER['REQUEST_URI']))
if (preg_match("/pks\/add/",$_SERVER['REQUEST_URI']))
{
if ($MAX_KEYSIZE == -1 || strlen($_POST['keytext']) <= $MAX_KEYSIZE)
{