mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-30 14:51:13 -04:00
Added a fix for files with spaces.
This commit is contained in:
parent
1b257252f9
commit
881ec1a4b3
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ module.exports.setup = (app) ->
|
|||
|
||||
fileGet = (req, res) ->
|
||||
path = req.path[6..]
|
||||
path = decodeURI path
|
||||
isFolder = false
|
||||
try
|
||||
objectId = mongoose.Types.ObjectId(path)
|
||||
|
|
Loading…
Add table
Reference in a new issue