aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJeff Ames2008-03-19 15:12:48 +0000
committerJeff Ames2008-03-19 15:12:48 +0000
commit3f2ea4f647592c1ee899c149c99eff7cb90dab46 (patch)
tree845d8a2a088d14264d1fb593340b2901262a4b5c
parent* Print a warning every 20 times a client requests a texture that it should a... (diff)
downloadopensim-SC_OLD-3f2ea4f647592c1ee899c149c99eff7cb90dab46.zip
opensim-SC_OLD-3f2ea4f647592c1ee899c149c99eff7cb90dab46.tar.gz
opensim-SC_OLD-3f2ea4f647592c1ee899c149c99eff7cb90dab46.tar.bz2
opensim-SC_OLD-3f2ea4f647592c1ee899c149c99eff7cb90dab46.tar.xz
Thanks Ahzzmandius for fix for overflow in user profile About box or First Life About box when using non-ASCII encodings (bug #769).
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index e6ebe0a..3a763c8 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -2994,8 +2994,8 @@ namespace OpenSim.Region.ClientStack
2994 AvatarPropertiesUpdatePacket.PropertiesDataBlock Properties = Packet.PropertiesData; 2994 AvatarPropertiesUpdatePacket.PropertiesDataBlock Properties = Packet.PropertiesData;
2995 UserProfileData UserProfile = new UserProfileData(); 2995 UserProfileData UserProfile = new UserProfileData();
2996 UserProfile.UUID = AgentId; 2996 UserProfile.UUID = AgentId;
2997 UserProfile.profileAboutText = Util.FieldToString(Properties.AboutText); 2997 UserProfile.profileAboutText = Helpers.FieldToUTF8String(Properties.AboutText);
2998 UserProfile.profileFirstText = Util.FieldToString(Properties.FLAboutText); 2998 UserProfile.profileFirstText = Helpers.FieldToUTF8String(Properties.FLAboutText);
2999 UserProfile.profileFirstImage = Properties.FLImageID; 2999 UserProfile.profileFirstImage = Properties.FLImageID;
3000 UserProfile.profileImage = Properties.ImageID; 3000 UserProfile.profileImage = Properties.ImageID;
3001 3001