We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08a1fd9 commit 626d008Copy full SHA for 626d008
interface/web/admin/language_edit.php
@@ -64,7 +64,7 @@
64
$val = stripslashes($val);
65
// Use var_export for secure escaping - handles all edge cases including consecutive quotes
66
$escaped_val = var_export($val, true);
67
- if(!preg_match("/^[a-z0-9_\]+$/", $key)) die('Invalid language file key.');
+ if(!preg_match("/^[a-z0-9_]+$/", $key)) die('Invalid language file key.');
68
$file_content .= '$wb['."'$key'".'] = '.$escaped_val.';'."\n";
69
$msg = 'File saved.';
70
}
0 commit comments