cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mowcixo <...@git.apache.org>
Subject [GitHub] cordova-plugin-file-transfer pull request: Better header parse wit...
Date Wed, 06 May 2015 08:54:40 GMT
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="foo@bar.net", 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 <moises@webet.es>
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message