Fixed security issue for get_gantt_data method #2280

Review ID: 6783002
Merge pull request #97 from aroraumang/feature/task-2280

Fixed security issue for get_gantt_data method #2280