{"action":"opened","issue":{"url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/1968","repository_url":"https://api.github.com/repos/salesagility/SuiteCRM","labels_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/1968/labels{/name}","comments_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/1968/comments","events_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/1968/events","html_url":"https://github.com/salesagility/SuiteCRM/issues/1968","id":171595687,"number":1968,"title":"Problem with Import,decrease the step count","user":{"login":"tomi798","id":21075768,"avatar_url":"https://avatars.githubusercontent.com/u/21075768?v=3","gravatar_id":"","url":"https://api.github.com/users/tomi798","html_url":"https://github.com/tomi798","followers_url":"https://api.github.com/users/tomi798/followers","following_url":"https://api.github.com/users/tomi798/following{/other_user}","gists_url":"https://api.github.com/users/tomi798/gists{/gist_id}","starred_url":"https://api.github.com/users/tomi798/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomi798/subscriptions","organizations_url":"https://api.github.com/users/tomi798/orgs","repos_url":"https://api.github.com/users/tomi798/repos","events_url":"https://api.github.com/users/tomi798/events{/privacy}","received_events_url":"https://api.github.com/users/tomi798/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-17T07:51:42Z","updated_at":"2016-08-17T07:51:42Z","closed_at":null,"body":"#### Issue\r\nIf you clicked the button to return it increase the number of step instead of decreasing,i am using Polish language with special characters so its probably the problem.\r\n\r\n#### Expected Behavior\r\nIt should decrease the step.\r\n\r\n#### Actual Behavior\r\nIt increasethe the step.\r\n\r\n#### Possible Fix\r\nmodules/Import/views/ImportView.php line 56\r\nChanged:\r\n` if (isset($_REQUEST['button']) && trim($_REQUEST['button']) == htmlentities($mod_strings['LBL_BACK']))`\r\nto:\r\n`if (isset($_REQUEST['button']) && trim($_REQUEST['button']) == htmlspecialchars($mod_strings['LBL_BACK']))`\r\n\r\n#### Steps to Reproduce\r\nGo to Import, select file and click next, then go back.\r\n![step](https://cloud.githubusercontent.com/assets/21075768/17728580/3167543e-6460-11e6-8beb-f14d95ee3b33.jpg)\r\n\r\n#### Context\r\nlow\r\n\r\n#### Your Environment\r\n* SuiteCRM Version used:7.7.1\r\n* Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)):Chrome 52.0.2743.116 m, Mozilla\r\n\r\n* Operating System and version (e.g Ubuntu 16.04): win10\r\n"}}
{"actor":{"display_login":"tomi798"}}