diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt
index 94ad64d..15448f1 100644
--- a/Builder/IISMainHandler/build.txt
+++ b/Builder/IISMainHandler/build.txt
@@ -1 +1 @@
-1257
\ No newline at end of file
+1261
\ No newline at end of file
diff --git a/IISMainHandler/WebContext.cs b/IISMainHandler/WebContext.cs
index 869ab52..2ecc4b6 100644
--- a/IISMainHandler/WebContext.cs
+++ b/IISMainHandler/WebContext.cs
@@ -38,6 +38,16 @@ namespace FLocal.IISHandler {
}
}
+ public XElement exportRequestParameters() {
+ return new XElement("get",
+ from i in Enumerable.Range(0, this.httprequest.QueryString.Count)
+ select new XElement("param",
+ new XAttribute("name", this.httprequest.QueryString.GetKey(i)),
+ this.httprequest.QueryString[i]
+ )
+ );
+ }
+
public HttpResponse httpresponse {
get {
return this.httpcontext.Response;
diff --git a/IISMainHandler/handlers/AbstractGetHandler.cs b/IISMainHandler/handlers/AbstractGetHandler.cs
index c666ff4..ccedb6b 100644
--- a/IISMainHandler/handlers/AbstractGetHandler.cs
+++ b/IISMainHandler/handlers/AbstractGetHandler.cs
@@ -27,6 +27,7 @@ namespace FLocal.IISHandler.handlers {
context.exportSession(),
context.userSettings.skin.exportToXml(),
new XElement("currentUrl", "/" + String.Join("/", context.requestParts) + "/"),
+ context.exportRequestParameters(),
};
}
diff --git a/IISMainHandler/handlers/request/AbstractPostHandler.cs b/IISMainHandler/handlers/request/AbstractPostHandler.cs
index 6490f83..9f64d98 100644
--- a/IISMainHandler/handlers/request/AbstractPostHandler.cs
+++ b/IISMainHandler/handlers/request/AbstractPostHandler.cs
@@ -34,6 +34,7 @@ namespace FLocal.IISHandler.handlers.request {
new XElement("timestamp", DateTime.Now.Ticks.ToString()),
context.userSettings.skin.exportToXml(),
context.exportSession(),
+ context.exportRequestParameters(),
};
}
diff --git a/templates/Full/elems/Main.xslt b/templates/Full/elems/Main.xslt
index cb22a8f..fa1dfea 100644
--- a/templates/Full/elems/Main.xslt
+++ b/templates/Full/elems/Main.xslt
@@ -25,11 +25,13 @@
-
-