mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-436 AWS users project name fix
This commit is contained in:
+2
-3
@@ -208,16 +208,15 @@ public class WebSession implements DBASession {
|
||||
String projectName;
|
||||
File projectPath;
|
||||
if (user != null) {
|
||||
projectName = user.getUserId();
|
||||
projectName = CommonUtils.escapeFileName(user.getUserId());
|
||||
projectPath = new File(
|
||||
new File(platform.getWorkspace().getAbsolutePath(), "user-projects"),
|
||||
projectName);
|
||||
} else {
|
||||
projectName = getSessionId();
|
||||
projectName = CommonUtils.escapeFileName(getSessionId());
|
||||
// For anonymous sessions use path of global project
|
||||
projectPath = globalProject.getAbsolutePath();
|
||||
}
|
||||
projectName = CommonUtils.escapeFileName(projectName);
|
||||
|
||||
// Cleanup current data
|
||||
if (this.navigatorModel != null) {
|
||||
|
||||
Reference in New Issue
Block a user