Skip to content
Permalink
Browse files

Fixes bug on dashboard for accented characters

  • Loading branch information
davidmerfield committed Jan 3, 2020
1 parent 0edabb2 commit f5f1295676b5e04804c8f98a7cdfef64271cf4d5
Showing with 1 addition and 0 deletions.
  1. +1 −0 app/dashboard/routes/folder/determinePath.js
@@ -8,6 +8,7 @@ module.exports = function determinePath(req, res, next) {

if (dir === "/") res.locals.folder.root = true;

dir = decodeURIComponent(dir);
req.dir = dir;
res.locals.folder.redirect = req.path;

0 comments on commit f5f1295

Please sign in to comment.
You can’t perform that action at this time.