mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-04 14:19:13 -04:00
Merge 7557af3db7
into a1a1017bfe
This commit is contained in:
commit
cee89c9902
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ async.waterfall([
|
|||
{
|
||||
res.header("Server", serverName);
|
||||
var filePath = path.normalize(__dirname + "/.." +
|
||||
req.url.replace(/\./g, '').split("?")[0]);
|
||||
req.url.replace(/\.\./g, '').split("?")[0]);
|
||||
res.sendfile(filePath, { maxAge: exports.maxAge });
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue