Update Fix

This commit is contained in:
2026-03-15 12:30:40 +01:00
parent 311ba5e7f3
commit 50be8e25f3
176 changed files with 4075 additions and 3013 deletions

View File

@@ -277,7 +277,10 @@ class ConnectionConfig {
user: decodeURIComponent(parsedUrl.username),
password: decodeURIComponent(parsedUrl.password),
};
parsedUrl.searchParams.forEach((value, key) => {
for (const [key, value] of parsedUrl.searchParams) {
if (key in options) {
continue;
}
try {
// Try to parse this as a JSON expression first
options[key] = JSON.parse(value);
@@ -285,7 +288,7 @@ class ConnectionConfig {
// Otherwise assume it is a plain string
options[key] = value;
}
});
}
return options;
}
}