aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Util.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Util.cs')
-rw-r--r--OpenSim/Framework/Util.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index 01a06cd..a6fd99f 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -1685,6 +1685,8 @@ namespace OpenSim.Framework
1685 1685
1686 // hide the password in the connection string 1686 // hide the password in the connection string
1687 passPosition = connectionString.IndexOf("password", StringComparison.OrdinalIgnoreCase); 1687 passPosition = connectionString.IndexOf("password", StringComparison.OrdinalIgnoreCase);
1688 if (passPosition == -1)
1689 return connectionString;
1688 passPosition = connectionString.IndexOf("=", passPosition); 1690 passPosition = connectionString.IndexOf("=", passPosition);
1689 if (passPosition < connectionString.Length) 1691 if (passPosition < connectionString.Length)
1690 passPosition += 1; 1692 passPosition += 1;