From 18ef01bd8d7e4dc2a16ae62f3ba5ea7019231148 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 12 Mar 2026 09:28:37 -0400 Subject: [PATCH] Increase potential config line size. HTML snippets can easily be larger than 256 --- web/includes/config.php.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/includes/config.php.in b/web/includes/config.php.in index 9557b819d..0d173d9b4 100644 --- a/web/includes/config.php.in +++ b/web/includes/config.php.in @@ -301,7 +301,7 @@ function process_configfile($configFile) { if (is_readable($configFile)) { $cfg = fopen($configFile, 'r') or error_log('Could not open config file: '.$configFile); while ( !feof($cfg) ) { - $str = fgets($cfg, 256); + $str = fgets($cfg, 512); if ( preg_match('/^\s*(#.*)?$/', $str) ) { continue; } else if ( preg_match('/^\s*([^=\s]+)\s*=\s*[\'"]*(.*?)[\'"]*\s*$/', $str, $matches) ) {