Browse Source

Fix: encode accented chars in filenames (#61)

master
Matheus Fernandes 8 years ago
committed by Leo Lamprecht
parent
commit
a709864864
  1. 2
      lib/index.js

2
lib/index.js

@ -296,7 +296,7 @@ export default class Now extends EventEmitter {
'Content-Length': data.length,
'x-now-deployment-id': this._id,
'x-now-sha': sha,
'x-now-file': names.map((name) => toRelative(name, this._path)).join(','),
'x-now-file': names.map((name) => toRelative(encodeURIComponent(name), this._path)).join(','),
'x-now-size': data.length
},
body: stream

Loading…
Cancel
Save