changed to decodeURIComponent in server code
This commit is contained in:
parent
b419a6025f
commit
3f89c2bf0a
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ app.get('/download/:id', (req, res) => {
|
|||
.length(id)
|
||||
.then(contentLength => {
|
||||
res.render('download', {
|
||||
filename: decodeURI(filename),
|
||||
filename: decodeURIComponent(filename),
|
||||
filesize: bytes(contentLength),
|
||||
trackerId: conf.analytics_id,
|
||||
dsn: conf.sentry_id
|
||||
|
|
Loading…
Reference in a new issue