File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -85,13 +85,15 @@ module.exports = {
85
85
var revisionKey = this . readConfig ( 'revisionKey' ) ;
86
86
var filePattern = this . readConfig ( 'filePattern' ) ;
87
87
var serverSideEncryption = this . readConfig ( 'serverSideEncryption' ) ;
88
+ var urlEncodeSourceObject = this . readConfig ( 'urlEncodeSourceObject' ) ;
88
89
89
90
var options = {
90
91
bucket : bucket ,
91
92
prefix : prefix ,
92
93
acl : acl ,
93
94
filePattern : filePattern ,
94
95
revisionKey : revisionKey ,
96
+ urlEncodeSourceObject : urlEncodeSourceObject ,
95
97
} ;
96
98
97
99
if ( serverSideEncryption ) {
Original file line number Diff line number Diff line change @@ -236,7 +236,8 @@ describe('s3-index plugin', function() {
236
236
bucket : BUCKET ,
237
237
prefix : DEFAULT_PREFIX ,
238
238
filePattern : DEFAULT_FILE_PATTERN ,
239
- revisionKey : '1234'
239
+ revisionKey : '1234' ,
240
+ urlEncodeSourceObject : true ,
240
241
} ;
241
242
242
243
assert . deepEqual ( s3Options , expected ) ;
You can’t perform that action at this time.
0 commit comments