From 2051535ce137d38bd644fa706516881eb0400db1 Mon Sep 17 00:00:00 2001 From: Oren Hurvitz Date: Wed, 2 Apr 2014 17:11:32 +0300 Subject: String matching in REST handlers: must allow '-' as a separator, because the "/map" handler uses it --- OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs') diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index e4a244e..4f71db9 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs @@ -857,7 +857,7 @@ namespace OpenSim.Framework.Servers.HttpServer } } - private readonly string HANDLER_SEPARATORS = "/?&#"; + private readonly string HANDLER_SEPARATORS = "/?&#-"; private bool TryGetStreamHandler(string handlerKey, out IRequestHandler streamHandler) { -- cgit v1.1