We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a75917e + ce2d6fe commit b45e249Copy full SHA for b45e249
1 file changed
SQLite.CodeFirst/SqliteConnectionStringParser.cs
@@ -20,7 +20,9 @@ public static IDictionary<string, string> ParseSqliteConnectionString(string con
20
foreach (var keyValuePair in keyValuePairs)
21
{
22
string[] keyValue = keyValuePair.Split(KeyValueSeperator);
23
- keyValuePairDictionary.Add(keyValue[KeyPosition].ToLower(), keyValue[ValuePosition]);
+ if (keyValue.Length >= 2){
24
+ keyValuePairDictionary.Add(keyValue[KeyPosition].ToLower(), keyValue[ValuePosition]);
25
+ }
26
}
27
28
return keyValuePairDictionary;
0 commit comments