public static IDictionary<string, string[]> GetFormParameters(FormCollection collection)
{
IDictionary<string, string[]> formParameters = new Dictionary<string, string[]>();
foreach (var key in collection.AllKeys)
{
if (key == null) continue;
var value = collection.GetValues(key);
// value = CrossSiteAttackUtil.CleanHtml(value);
if (value != null)
{
formParameters.Add(key, value);
}
}