mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Remove server-side santization of project name, it's all escaped client side now
This commit is contained in:
parent
792147fb46
commit
a3a5aa1c0d
1 changed files with 0 additions and 1 deletions
|
@ -263,7 +263,6 @@ module.exports = EditorController =
|
|||
callback?()
|
||||
|
||||
renameProject: (project_id, newName, callback = (err) ->) ->
|
||||
newName = sanitize.escape(newName)
|
||||
ProjectDetailsHandler.renameProject project_id, newName, =>
|
||||
EditorRealTimeController.emitToRoom project_id, 'projectNameUpdated', newName
|
||||
callback()
|
||||
|
|
Loading…
Reference in a new issue