Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10771

plugin-file-transfer upload on windows fails when params has a key with a null value

    XMLWordPrintableJSON

Details

    Description

      In the windows version of plugin-file-transfer, if you set the options such that a key inside the params object has a null value: e.g.

      var options = { params:

      { keyName: null }

      }

      Then it will fail to upload with an INVALID_URL error because an exception occurs trying to convert the key keyName into a transfer chunk.

      This does not cause an error in the ios or android versions.

      Attachments

        Activity

          People

            rakatyal Raghav Katyal
            paul.hickman Paul Hickman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified