- Fix invalid cast in OSHttpRequest

- Web-map should work again :)
0.6.0-stable
Homer Horwitz 2008-10-02 22:10:49 +00:00
parent 8963522aab
commit fb9acb80ef
1 changed files with 3 additions and 3 deletions

View File

@ -223,12 +223,12 @@ namespace OpenSim.Framework.Servers
_query = new Hashtable(); _query = new Hashtable();
try try
{ {
foreach (KeyValuePair<string, HttpInputItem> q in req.QueryString) foreach (HttpInputItem item in req.QueryString)
{ {
try try
{ {
_queryString.Add(q.Key, q.Value.Value); _queryString.Add(item.Name, item.Value);
_query[q.Key] = q.Value.Value; _query[item.Name] = item.Value;
} }
catch (InvalidCastException) catch (InvalidCastException)
{ {