Closed more7dev closed 5 years ago
this is a good idea but it really makes no sense in changing it in a single place rather than everywhere...
the solution should be to change the line
$this->table_name = $table_name;
to
$this->table_name = '`' . trim($table_name, '`') . '`';
This is a small bugfix. Using non-default table name for session data storage could lead to errors i.e. if table name contains spaces. This fix could be further expanded to include table name escaping using proper mysql functions to quote identifiers.