diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs b/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs index 5e28ee1..84ff22b 100644 --- a/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs +++ b/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs | |||
@@ -433,10 +433,12 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest | |||
433 | 433 | ||
434 | // continue building the string | 434 | // continue building the string |
435 | sb.Append(tempString); | 435 | sb.Append(tempString); |
436 | if (sb.Length > 2048) | ||
437 | break; | ||
436 | } | 438 | } |
437 | } while (count > 0); // any more data to read? | 439 | } while (count > 0); // any more data to read? |
438 | 440 | ||
439 | ResponseBody = sb.ToString(); | 441 | ResponseBody = sb.ToString().Replace("\r", ""); |
440 | } | 442 | } |
441 | catch (Exception e) | 443 | catch (Exception e) |
442 | { | 444 | { |