compatibility update for php7/8

This commit is contained in:
muppeth 2021-10-21 01:52:48 +02:00
parent 0fb623c75a
commit c6b0f921c9
Signed by untrusted user: muppeth
GPG Key ID: 0EBC7B9848D04031
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)
{