File tree 5 files changed +8
-5
lines changed
5 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Change Log
2
+ ## cordova-plugin-wkwebview-file-xhr v3.1.0 (07/07/2022)
3
+ * Fix content-disposition case issue (issue #88 ).
4
+
2
5
## cordova-plugin-wkwebview-file-xhr v3.0.0 (09/09/2020)
3
6
* Upgraded to support cordova-ios 6.0 by removing dependency from wkwebview engine. (issue #55 )
4
7
* Fix HEADERS_RECEIVED const typo (issue #37 ).
Original file line number Diff line number Diff line change 1
- # cordova-plugin-wkwebview-file-xhr 3.0 .0
1
+ # cordova-plugin-wkwebview-file-xhr 3.1 .0
2
2
3
3
## About the cordova-plugin-wkwebview-file-xhr
4
4
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " cordova-plugin-wkwebview-file-xhr" ,
3
- "version" : " 3.0 .0" ,
3
+ "version" : " 3.1 .0" ,
4
4
"description" : " Cordova WKWebView File XHR Plugin" ,
5
5
"cordova" : {
6
6
"id" : " cordova-plugin-wkwebview-file-xhr" ,
Original file line number Diff line number Diff line change 21
21
22
22
<plugin xmlns =" http://apache.org/cordova/ns/plugins/1.0"
23
23
id =" cordova-plugin-wkwebview-file-xhr"
24
- version =" 3.0 .0" >
24
+ version =" 3.1 .0" >
25
25
<name >Cordova WKWebView File XHR Plugin</name >
26
26
<description >This plugin includes the Apache Cordova WKWebView plugin and resolves XHR Cross-Origin Resource Sharing (CORS) constraints.</description >
27
27
<license >UPL 1.0</license >
Original file line number Diff line number Diff line change 332
332
data . push ( "--" + boundary + "\r\n" ) ;
333
333
if ( ! entry [ 'filename' ] )
334
334
{
335
- data . push ( 'content-disposition : form-data; name="' ) ;
335
+ data . push ( 'Content-Disposition : form-data; name="' ) ;
336
336
data . push ( entry . name ) ;
337
337
data . push ( '"\r\n' ) ;
338
338
data . push ( '\r\n' ) ;
342
342
else
343
343
{
344
344
// Describe it as form data
345
- data . push ( 'content-disposition : form-data; name="' ) ;
345
+ data . push ( 'Content-Disposition : form-data; name="' ) ;
346
346
data . push ( entry . name )
347
347
data . push ( '"; filename="' ) ;
348
348
data . push ( entry . filename ) ;
You can’t perform that action at this time.
0 commit comments