diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index 51d3b0f..5156988 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -617 \ No newline at end of file +619 \ No newline at end of file diff --git a/Builder/IISUploadHandler/build.txt b/Builder/IISUploadHandler/build.txt index b2786cd..0a1b63d 100644 --- a/Builder/IISUploadHandler/build.txt +++ b/Builder/IISUploadHandler/build.txt @@ -1 +1 @@ -351 \ No newline at end of file +353 \ No newline at end of file diff --git a/Importer/DictionaryConverter.cs b/Importer/DictionaryConverter.cs index 22fb47e..abaf0a5 100644 --- a/Importer/DictionaryConverter.cs +++ b/Importer/DictionaryConverter.cs @@ -12,7 +12,11 @@ namespace FLocal.Importer { } public static Dictionary FromDump(string dump) { - return (from elem in dump.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries) let parts = elem.Split(new char[] { '=' }, 2) select new KeyValuePair(HttpUtility.UrlDecode(parts[0], ShallerConnector.encoding), HttpUtility.UrlDecode(parts[1], ShallerConnector.encoding))).ToDictionary(kvp => kvp.Key, kvp => kvp.Value); + Dictionary result = new Dictionary(); + foreach(var kvp in (from elem in dump.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries) let parts = elem.Split(new char[] { '=' }, 2) select new KeyValuePair(HttpUtility.UrlDecode(parts[0], ShallerConnector.encoding), HttpUtility.UrlDecode(parts[1], ShallerConnector.encoding)))) { + result[kvp.Key] = kvp.Value; + } + return result; } }