mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
fix(rds): reject malformed proxy boolean flags (#5453)
This commit is contained in:
1 parent
09a2d5c005
commit
af3672ed0c
3 files changed
+61
-2
No files matched your search
@@ -1786,8 +1786,8 @@ public class RdsQueryHandler {
|
||||
validateDbProxyNetworkType(targetConnectionNetworkType, "TargetConnectionNetworkType", false, "IPV4 or IPV6");
|
||||
String name = params.getFirst("DBProxyName");
|
||||
String engineFamily = params.getFirst("EngineFamily");
|
||||
boolean requireTls = "true".equalsIgnoreCase(params.getFirst("RequireTLS"));
|
||||
boolean debugLogging = "true".equalsIgnoreCase(params.getFirst("DebugLogging"));
|
||||
boolean requireTls = Boolean.TRUE.equals(parseOptionalBoolean(params, "RequireTLS"));
|
||||
boolean debugLogging = Boolean.TRUE.equals(parseOptionalBoolean(params, "DebugLogging"));
|
||||
int idleClientTimeout = 1800;
|
||||
String idleClientTimeoutValue = params.getFirst("IdleClientTimeout");
|
||||
if (idleClientTimeoutValue != null) {
|
||||
|
||||
Reference in new issue
Block a user