Remove server-side santization of project name, it's all escaped client side now

This commit is contained in:
James Allen 2014-07-21 13:34:25 +01:00
parent 792147fb46
commit a3a5aa1c0d

View file

@ -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()