diff --git a/server/server.js b/server/server.js index 0508f092..294cb78a 100644 --- a/server/server.js +++ b/server/server.js @@ -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