diff options
author | Dr Scofield | 2008-09-22 11:20:09 +0000 |
---|---|---|
committer | Dr Scofield | 2008-09-22 11:20:09 +0000 |
commit | 7def786ef4d62c2ffad8cea0cba7db033f8f0d27 (patch) | |
tree | 4da62a195714ea1206fd4d3b3688b22c31ce254c /OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs | |
parent | Remove the script engine identifier tag, so the compiler just sees (diff) | |
download | opensim-SC-7def786ef4d62c2ffad8cea0cba7db033f8f0d27.zip opensim-SC-7def786ef4d62c2ffad8cea0cba7db033f8f0d27.tar.gz opensim-SC-7def786ef4d62c2ffad8cea0cba7db033f8f0d27.tar.bz2 opensim-SC-7def786ef4d62c2ffad8cea0cba7db033f8f0d27.tar.xz |
cleanups in inventory REST code. also, disables digest authentications
for inventory REST calls for the time being, as firefox, curl, and
also python's urllib2 cannot authenticate using digest auth.
fix permission checking for prim inventory to be the same as for
normal edit ops.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs index 0aad058..ab40b5d 100644 --- a/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs +++ b/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs | |||
@@ -167,6 +167,9 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
167 | 167 | ||
168 | try | 168 | try |
169 | { | 169 | { |
170 | // digest scheme seems borked: disable it for the time | ||
171 | // being | ||
172 | rdata.scheme = Rest.AS_BASIC; | ||
170 | if (!rdata.IsAuthenticated) | 173 | if (!rdata.IsAuthenticated) |
171 | { | 174 | { |
172 | rdata.Fail(Rest.HttpStatusCodeNotAuthorized,String.Format("user \"{0}\" could not be authenticated", rdata.userName)); | 175 | rdata.Fail(Rest.HttpStatusCodeNotAuthorized,String.Format("user \"{0}\" could not be authenticated", rdata.userName)); |