aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2018-12-16 20:46:51 +0000
committerUbitUmarov2018-12-16 20:46:51 +0000
commit4d13b1db49d12bf1ca9465b84e23731403135ab1 (patch)
tree6f06181becfc1aa93b9c00aba2bb96b329ba8498
parentseveral changes to last patch (diff)
downloadopensim-SC-4d13b1db49d12bf1ca9465b84e23731403135ab1.zip
opensim-SC-4d13b1db49d12bf1ca9465b84e23731403135ab1.tar.gz
opensim-SC-4d13b1db49d12bf1ca9465b84e23731403135ab1.tar.bz2
opensim-SC-4d13b1db49d12bf1ca9465b84e23731403135ab1.tar.xz
avoid sending garbage...
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/ServerReleaseNotesModule.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/ServerReleaseNotesModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/ServerReleaseNotesModule.cs
index 380bae5..e172db7 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/ServerReleaseNotesModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/ServerReleaseNotesModule.cs
@@ -77,6 +77,13 @@ namespace OpenSim.Region.ClientStack.LindenCaps
77 if (string.IsNullOrEmpty(m_ServerReleaseNotesURL)) 77 if (string.IsNullOrEmpty(m_ServerReleaseNotesURL))
78 return; 78 return;
79 79
80 Uri dummy;
81 if(!Uri.TryCreate(m_ServerReleaseNotesURL,UriKind.Absolute, out dummy))
82 {
83 m_log.Error("[Cap_ServerReleaseNotes]: Invalid ServerReleaseNotesURL. Cap Disabled");
84 return;
85 }
86
80 m_enabled = true; 87 m_enabled = true;
81 } 88 }
82 89