mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 14:40:55 +03:00
changed to decodeURIComponent in server code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user