Summary:
Resolved FIXME deal with relative path by sanitising file path
Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: stephenmhouston, cedric, seoz, devilhorns
Reviewed By: cedric, seoz, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1874
{
char buf[4096 + 7];
- /* FIXME: Deal with relative paths; use PATH_MAX */
+ file = eina_file_path_sanitize(file);
snprintf(buf, sizeof(buf), "file://%s", file);
if (elm_drag_start
(obj, ELM_SEL_FORMAT_IMAGE, buf, ELM_XDND_ACTION_MOVE,