Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
fix security risk of SQL injection
Browse files Browse the repository at this point in the history
  • Loading branch information
xunliu committed Mar 26, 2024
1 parent 246ecee commit 3769a88
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,17 @@ protected void configure() {
}
});

setupRestApiContextHandler(webApp, conf);
// There is a security risk of SQL injection here,
// note that the RESTful interface cannot be provided until this is resolved
// setupRestApiContextHandler(webApp, conf);

// Cookie config
setCookieConfig(webApp);

// There is a security risk of SQL injection here,
// note that the RESTful interface cannot be provided until this is resolved
// Notebook server
setupNotebookServer(webApp, conf, sharedServiceLocator);
// setupNotebookServer(webApp, conf, sharedServiceLocator);

// Cluster Server
// Cluster Server is useless for submarine now. Shield it to improve performance.
Expand Down

0 comments on commit 3769a88

Please sign in to comment.