Compare commits

...

2 Commits

Author SHA1 Message Date
muppeth e9ad17e7bc Merge branch 'master' into php_update 2022-03-15 10:37:25 +00:00
muppeth c6b0f921c9
compatibility update for php7/8 2021-10-21 01:52:48 +02: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)
{