aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/InnerScene.cs
diff options
context:
space:
mode:
authorTeravus Ovares2007-12-28 23:19:03 +0000
committerTeravus Ovares2007-12-28 23:19:03 +0000
commit0631151e08174fffbc5bf3f646ef32e16e2c5145 (patch)
treecd5c03148d599fbe9c9929ff98b5894c5a4cdd43 /OpenSim/Region/Environment/Scenes/InnerScene.cs
parentAdd System.Xml back into AssetServer and into AssetLoader for the first time.... (diff)
downloadopensim-SC_OLD-0631151e08174fffbc5bf3f646ef32e16e2c5145.zip
opensim-SC_OLD-0631151e08174fffbc5bf3f646ef32e16e2c5145.tar.gz
opensim-SC_OLD-0631151e08174fffbc5bf3f646ef32e16e2c5145.tar.bz2
opensim-SC_OLD-0631151e08174fffbc5bf3f646ef32e16e2c5145.tar.xz
* Patch from Melanie provides Util.CleanString and uses it on the prim name and description. Thanks Melanie.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/InnerScene.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs
index 5ad5646..794cdae 100644
--- a/OpenSim/Region/Environment/Scenes/InnerScene.cs
+++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs
@@ -749,7 +749,7 @@ namespace OpenSim.Region.Environment.Scenes
749 { 749 {
750 if (PermissionsMngr.CanEditObject(remoteClient.AgentId, group.UUID)) 750 if (PermissionsMngr.CanEditObject(remoteClient.AgentId, group.UUID))
751 { 751 {
752 group.SetPartName(name, primLocalID); 752 group.SetPartName(Util.CleanString(name), primLocalID);
753 } 753 }
754 } 754 }
755 } 755 }
@@ -766,7 +766,7 @@ namespace OpenSim.Region.Environment.Scenes
766 { 766 {
767 if (PermissionsMngr.CanEditObject(remoteClient.AgentId, group.UUID)) 767 if (PermissionsMngr.CanEditObject(remoteClient.AgentId, group.UUID))
768 { 768 {
769 group.SetPartDescription(description.Replace("\0",""), primLocalID); 769 group.SetPartDescription(Util.CleanString(description), primLocalID);
770 } 770 }
771 } 771 }
772 } 772 }