You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/11 11:27:39 UTC

[GitHub] [cordova-plugin-file-transfer] jenny-the-boss-69 edited a comment on issue #238: Camera Images fail to upload on iPhone

jenny-the-boss-69 edited a comment on issue #238: Camera Images fail to upload on iPhone
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/238#issuecomment-552405509
 
 
   Hi guys I am having a (maybe) related issue on IOS only, where by when I upload an image to my API the url is being double encoded and hence my API is erroring becuase the file-type is completley invalid. This only started happening roughly at the beginning of November on new builds and in wandering if this plugin is the culprit?
   
   Implementation: 
   ``/image-upload?${qs.stringify({ fileName, contentType })}``
   
   Expectation (Browser and Android):
   `'/image-upload?fileName=file.jpg&contentType=image%2Fjpeg'`
   
   Result on IOS:
   `'/image-upload?fileName=file.jpg&contentType=image%252Fjpeg'`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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