diff options
Diffstat (limited to 'OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs index 7f4157c..9853f16 100644 --- a/OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs +++ b/OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs | |||
@@ -358,8 +358,8 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
358 | { | 358 | { |
359 | if (path.StartsWith(key)) | 359 | if (path.StartsWith(key)) |
360 | { | 360 | { |
361 | return ( path.Length == key.Length || | 361 | return (path.Length == key.Length || |
362 | path.Substring(key.Length,1) == Rest.UrlPathSeparator); | 362 | path.Substring(key.Length, 1) == Rest.UrlPathSeparator); |
363 | } | 363 | } |
364 | } | 364 | } |
365 | 365 | ||