Critical fix in WebContext

main
Inga 🏳‍🌈 14 years ago
parent 005300835b
commit c3be9c02c4
  1. 3
      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]
)
);

Loading…
Cancel
Save