diff options
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/BaseRequestHandler.cs')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/BaseRequestHandler.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseRequestHandler.cs b/OpenSim/Framework/Servers/HttpServer/BaseRequestHandler.cs index da4f9a8..c47a44a 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseRequestHandler.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseRequestHandler.cs | |||
@@ -75,5 +75,12 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
75 | 75 | ||
76 | return path.StartsWith(Path); | 76 | return path.StartsWith(Path); |
77 | } | 77 | } |
78 | |||
79 | public string[] SplitParams(string path) | ||
80 | { | ||
81 | string param = GetParam(path); | ||
82 | |||
83 | return param.Split(new char[] { '/', '?', '&' }, StringSplitOptions.RemoveEmptyEntries); | ||
84 | } | ||
78 | } | 85 | } |
79 | } | 86 | } |