mirror of
https://github.com/Wisser/Jailer.git
synced 2026-05-16 11:33:51 -05:00
reject invalid file names
This commit is contained in:
@@ -2893,7 +2893,7 @@ public abstract class Desktop extends JDesktopPane {
|
||||
public void storeSession(BookmarksPanel bookmarksPanel) {
|
||||
String fnProp = null;
|
||||
int propLen = 0;
|
||||
final String INVALID_CHARS = "['`\"/\\\\\\~]+";
|
||||
final String INVALID_CHARS = "[:\\*\\?<>'`\"/\\\\\\~]+";
|
||||
for (RowBrowser rb : tableBrowsers) {
|
||||
if (rb.browserContentPane.table != null) {
|
||||
if (!(rb.browserContentPane.table instanceof BrowserContentPane.SqlStatementTable)) {
|
||||
|
||||
Reference in New Issue
Block a user