[CB-4668] WP8 FileTransfer works with the standard JS implementation. Fixing error in parsing of HTTP params which causes sub-JSON objects to not work

This commit is contained in:
Viras-
2013-09-05 07:00:38 +02:00
parent f6c4721607
commit 95fa68041e
3 changed files with 3 additions and 132 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
/*
/*
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -293,7 +293,7 @@ namespace WPCordovaClassLib.Cordova.Commands
string[] strHeaders = temp.Split(',');
for (int n = 0; n < strHeaders.Length; n++)
{
string[] split = strHeaders[n].Split(':');
string[] split = strHeaders[n].Split(":".ToCharArray(), 2);
if (split.Length == 2)
{
split[0] = JSON.JsonHelper.Deserialize<string>(split[0]);