Skip to content

Commit

Permalink
Merge pull request #1455 from g10082ts/master
Browse files Browse the repository at this point in the history
fix for #1259
  • Loading branch information
mambax7 authored Mar 10, 2024
2 parents 91cc41e + f0240fc commit 56846c4
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 56846c4

Please sign in to comment.