Skip to content

Commit ee2402c

Browse files
author
Till Brehm
committed
Merge branch 'ispconfig-3-3-p2' into 'ispconfig-3-3-p2'
Remove accidental invalid escape, #6890 See merge request ispconfig/ispconfig3!2032
2 parents 08a1fd9 + 626d008 commit ee2402c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/admin/language_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
$val = stripslashes($val);
6565
// Use var_export for secure escaping - handles all edge cases including consecutive quotes
6666
$escaped_val = var_export($val, true);
67-
if(!preg_match("/^[a-z0-9_\]+$/", $key)) die('Invalid language file key.');
67+
if(!preg_match("/^[a-z0-9_]+$/", $key)) die('Invalid language file key.');
6868
$file_content .= '$wb['."'$key'".'] = '.$escaped_val.';'."\n";
6969
$msg = 'File saved.';
7070
}

0 commit comments

Comments
 (0)