diff options
author | UbitUmarov | 2018-12-16 20:46:51 +0000 |
---|---|---|
committer | UbitUmarov | 2018-12-16 20:46:51 +0000 |
commit | 4d13b1db49d12bf1ca9465b84e23731403135ab1 (patch) | |
tree | 6f06181becfc1aa93b9c00aba2bb96b329ba8498 | |
parent | several changes to last patch (diff) | |
download | opensim-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.cs | 7 |
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 | ||