{"action":"created","issue":{"url":"https://api.github.com/repos/piwik/piwik/issues/7236","labels_url":"https://api.github.com/repos/piwik/piwik/issues/7236/labels{/name}","comments_url":"https://api.github.com/repos/piwik/piwik/issues/7236/comments","events_url":"https://api.github.com/repos/piwik/piwik/issues/7236/events","html_url":"https://github.com/piwik/piwik/issues/7236","id":58049909,"number":7236,"title":"pluging Transitions - possible URL mismatch","user":{"login":"dscaravaggi","id":9715775,"avatar_url":"https://avatars.githubusercontent.com/u/9715775?v=3","gravatar_id":"","url":"https://api.github.com/users/dscaravaggi","html_url":"https://github.com/dscaravaggi","followers_url":"https://api.github.com/users/dscaravaggi/followers","following_url":"https://api.github.com/users/dscaravaggi/following{/other_user}","gists_url":"https://api.github.com/users/dscaravaggi/gists{/gist_id}","starred_url":"https://api.github.com/users/dscaravaggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dscaravaggi/subscriptions","organizations_url":"https://api.github.com/users/dscaravaggi/orgs","repos_url":"https://api.github.com/users/dscaravaggi/repos","events_url":"https://api.github.com/users/dscaravaggi/events{/privacy}","received_events_url":"https://api.github.com/users/dscaravaggi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-18T10:22:49Z","updated_at":"2015-02-18T20:54:28Z","closed_at":null,"body":"Hi all,\r\nI'm a newbie Piwik programmer, \r\nI noticed that usage of textarea post parameters at line 34 of\r\nplugins/Transitions/javascripts/transitions.js\r\n\r\nmay genarate inconsistent url when JSON decoded serverside\r\non my dev laptop I inserted a \"difensive\" line:\r\n```javascript\r\n    link = $('<textarea>').html(encodeURIComponent(link)).val();\r\n```\r\n\r\nand of course I added the symmetric decode (plugins/Transitions/API.php line 68)\r\n```php\r\n    $l_uriDecodeString = urldecode( $actionName );\r\n    $actionName = $l_uriDecodeString;\r\n```\r\n\r\nmaybe there is another more elegant way to \"sanitize\" strange url with a lot of ampersand querystring etc... but this help ma a lot with MS sharepoint sites.\r\n\r\nThanks in advance\r\nDiego\r\n \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/piwik/piwik/issues/comments/74945798","html_url":"https://github.com/piwik/piwik/issues/7236#issuecomment-74945798","issue_url":"https://api.github.com/repos/piwik/piwik/issues/7236","id":74945798,"user":{"login":"mattab","id":466765,"avatar_url":"https://avatars.githubusercontent.com/u/466765?v=3","gravatar_id":"","url":"https://api.github.com/users/mattab","html_url":"https://github.com/mattab","followers_url":"https://api.github.com/users/mattab/followers","following_url":"https://api.github.com/users/mattab/following{/other_user}","gists_url":"https://api.github.com/users/mattab/gists{/gist_id}","starred_url":"https://api.github.com/users/mattab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattab/subscriptions","organizations_url":"https://api.github.com/users/mattab/orgs","repos_url":"https://api.github.com/users/mattab/repos","events_url":"https://api.github.com/users/mattab/events{/privacy}","received_events_url":"https://api.github.com/users/mattab/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T20:54:28Z","updated_at":"2015-02-18T20:54:28Z","body":"Hi @dscaravaggi can you detail how the bug can be reproduced? What kind of URLs were not working in Transitions, and are working after your patch? before we fix the issue we must be able to reproduce it. Thanks"}}