Skip to content

Commit

Permalink
fix for XOOPS#1259
Browse files Browse the repository at this point in the history
  • Loading branch information
g10082ts authored Feb 11, 2024
1 parent 3383294 commit 9c8759f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/install/cleanup.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
defined('XOOPS_INSTALL') || die('XOOPS Installation wizard die');

$install_rename_suffix = $_POST['instsuffix'];
if (preg_match('/^[a-f0-9]{23}$/', $install_rename_suffix)) {
if (preg_match('/^[a-f0-9]{24}\.[0-9]{8}$/', $install_rename_suffix)) {
$installer_modified = 'install_remove_' . $install_rename_suffix;
install_finalize($installer_modified);
echo 'OK';
Expand Down

0 comments on commit 9c8759f

Please sign in to comment.