forked from Disroot/gpg-lacre
Compare commits
2 commits
main
...
php_update
Author | SHA1 | Date | |
---|---|---|---|
e9ad17e7bc | |||
c6b0f921c9 |
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue