Strip CR from http responses and limit them to 2048 chars

This commit is contained in:
Melanie
2011-12-05 15:57:47 +01:00
parent b7c9eb4bf7
commit 3281b99362

View File

@@ -433,10 +433,12 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest
// continue building the string
sb.Append(tempString);
if (sb.Length > 2048)
break;
}
} while (count > 0); // any more data to read?
ResponseBody = sb.ToString();
ResponseBody = sb.ToString().Replace("\r", "");
}
catch (Exception e)
{