mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
exclude root path from SimpleStremHandler
This commit is contained in:
@@ -635,7 +635,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
// }
|
||||
// }
|
||||
string path = request.UriPath;
|
||||
if (!string.IsNullOrWhiteSpace(path) && TryGetSimpleStreamHandler(path, out ISimpleStreamHandler hdr))
|
||||
if (!string.IsNullOrWhiteSpace(path) && path!="/" && TryGetSimpleStreamHandler(path, out ISimpleStreamHandler hdr))
|
||||
{
|
||||
hdr.Handle(request, response);
|
||||
if (request.InputStream != null && request.InputStream.CanRead)
|
||||
|
||||
Reference in New Issue
Block a user