security: KVE-2026-2346 CRLF 설치본의 DB 업그레이드 중단 수정

This commit is contained in:
whitedot committed 2026-09-10 05:17:59 +00:00
1 parent 40096220e2
commit 97b5d7e122
4 files changed
+59 -1

No files matched your search

+1 -1
View File
@@ -110,7 +110,7 @@ function g5_migration_parse_file($file)
$migration['description'] = trim($matches[1]);
}
if (preg_match('/^--\s*@skip-if-column\s+(\S+)\s+(\S+)$/mi', $contents, $matches)) {
if (preg_match('/^--[\t ]*@skip-if-column[\t ]+(\S+)[\t ]+(\S+)[\t ]*\r?$/mi', $contents, $matches)) {
$migration['skip_table'] = g5_migration_replace_placeholders(trim($matches[1], '`'));
$migration['skip_column'] = trim($matches[2], '`');
}