From c3be9c02c43ef654b167e12beba8e201623e56a8 Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Wed, 15 Sep 2010 11:22:49 +0000 Subject: [PATCH] Critical fix in WebContext --- IISMainHandler/WebContext.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/IISMainHandler/WebContext.cs b/IISMainHandler/WebContext.cs index ba4ea91..2699d1b 100644 --- a/IISMainHandler/WebContext.cs +++ b/IISMainHandler/WebContext.cs @@ -41,8 +41,9 @@ namespace FLocal.IISHandler { public XElement exportRequestParameters() { return new XElement("get", from i in Enumerable.Range(0, this.httprequest.QueryString.Count) + where this.httprequest.QueryString.GetKey(i) != null select new XElement("param", - new XAttribute("name", this.httprequest.QueryString.GetKey(i).ToString()), + new XAttribute("name", this.httprequest.QueryString.GetKey(i)), this.httprequest.QueryString[i] ) );