diff options
author | Dr Scofield | 2009-03-17 07:03:53 +0000 |
---|---|---|
committer | Dr Scofield | 2009-03-17 07:03:53 +0000 |
commit | b2de81ebac9d07e8377814e47e7e261612e974bb (patch) | |
tree | 1eadefb8e69d7c8adb013a99df3b98221ed9f6d2 /bin | |
parent | Mantis#3306: Thanks tlaukkan for a patch that (diff) | |
download | opensim-SC-b2de81ebac9d07e8377814e47e7e261612e974bb.zip opensim-SC-b2de81ebac9d07e8377814e47e7e261612e974bb.tar.gz opensim-SC-b2de81ebac9d07e8377814e47e7e261612e974bb.tar.bz2 opensim-SC-b2de81ebac9d07e8377814e47e7e261612e974bb.tar.xz |
From: Christopher Yeoh <yeohc@au1.ibm.com>
Attached is a patch which enabled through an OpenSim.ini option the ability
to read long notecard lines. Currently although the data is read from
the notecard it is truncated at 255 characters (same as for the LL servers.
This patch allows the setting of that limit to a different value.
; Maximum length of notecard line read
; Increasing this to large values potentially opens
; up the system to malicious scripters
; NotecardLineReadCharsMax = 255
this allows for save/restore functionality using notecards without
having to worry about very short line length limits.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/OpenSim.ini.example | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index e2ae33c..39fee58 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -693,6 +693,11 @@ InterregionComms = "RESTComms" | |||
693 | ScriptDelayFactor = 1.0 | 693 | ScriptDelayFactor = 1.0 |
694 | ScriptDistanceLimitFactor = 1.0 | 694 | ScriptDistanceLimitFactor = 1.0 |
695 | 695 | ||
696 | ; Maximum length of notecard line read | ||
697 | ; Increasing this to large values potentially opens | ||
698 | ; up the system to malicious scripters | ||
699 | ; NotecardLineReadCharsMax = 255 | ||
700 | |||
696 | ; | 701 | ; |
697 | ; These settings are specific to DotNetEngine script engine | 702 | ; These settings are specific to DotNetEngine script engine |
698 | ; Other script engines based on OpenSim.Region.ScriptEngine.Common.dll will have almost identical settings, but in another section of this config file. | 703 | ; Other script engines based on OpenSim.Region.ScriptEngine.Common.dll will have almost identical settings, but in another section of this config file. |
@@ -981,6 +986,11 @@ InterregionComms = "RESTComms" | |||
981 | ; The factor the 10 m distances llimits are multiplied by | 986 | ; The factor the 10 m distances llimits are multiplied by |
982 | ScriptDistanceLimitFactor = 1.0 | 987 | ScriptDistanceLimitFactor = 1.0 |
983 | 988 | ||
989 | ; Maximum length of notecard line read | ||
990 | ; Increasing this to large values potentially opens | ||
991 | ; up the system to malicious scripters | ||
992 | ; NotecardLineReadCharsMax = 255 | ||
993 | |||
984 | ; OS Functions enable/disable | 994 | ; OS Functions enable/disable |
985 | ; For each function, you can add one line, as shown | 995 | ; For each function, you can add one line, as shown |
986 | ; The default for all functions allows them if below threat level | 996 | ; The default for all functions allows them if below threat level |