GitHub user mowcixo reopened a pull request:
https://github.com/apache/cordova-plugin-file-transfer/pull/54
Better header parse with custom WSSE sintax
Changed the FileTransfer.cs#parseHeaders function to work with the changes
of the https://github.com/apache/cordova-wp8/pull/62 pull request.
The problem is that, with WSSE headers with a VALUE like this:
```
UsernameToken Username="[email protected]",
PasswordDigest="ZTQXXXXXXXXXXXXXXXXXXXXXXXXXXXX0NTJlMGE2M2I0NGJiYWM4NA==",
Nonce="XXXXXXXXXXXXXXXXXXXXXXXXXXXXA==", Created="2014-10-11T18:48:07.232Z"
```
The current version of the function, will return null because of a bad
parse by DataContractJsonSerializer. The pull request I mentioned suggests
change DataContractJsonSerializer by Newtonsoft.Json for a better serialize and
performance.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mowcixo/cordova-plugin-file-transfer develop
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-file-transfer/pull/54.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #54
----
commit 1d85f44b4ccc9ce404da97d00ea1decc19e59cf8
Author: Moisés Gramary Barbosa <[email protected]>
Date: 2014-12-01T11:38:47Z
Changed the FileTransfer.cs#parseHeaders function to work with the changes
of the https://github.com/apache/cordova-wp8/pull/62 pull request.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]