{"action":"closed","issue":{"url":"https://api.github.com/repos/helios-ag/ElFinderPHP/issues/29","labels_url":"https://api.github.com/repos/helios-ag/ElFinderPHP/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/helios-ag/ElFinderPHP/issues/29/comments","events_url":"https://api.github.com/repos/helios-ag/ElFinderPHP/issues/29/events","html_url":"https://github.com/helios-ag/ElFinderPHP/issues/29","id":111847405,"number":29,"title":"function execute($queryParameters)  and POST / No way to change a command argument on server side","user":{"login":"Ronan-Lenor","id":11092781,"avatar_url":"https://avatars.githubusercontent.com/u/11092781?v=3","gravatar_id":"","url":"https://api.github.com/users/Ronan-Lenor","html_url":"https://github.com/Ronan-Lenor","followers_url":"https://api.github.com/users/Ronan-Lenor/followers","following_url":"https://api.github.com/users/Ronan-Lenor/following{/other_user}","gists_url":"https://api.github.com/users/Ronan-Lenor/gists{/gist_id}","starred_url":"https://api.github.com/users/Ronan-Lenor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ronan-Lenor/subscriptions","organizations_url":"https://api.github.com/users/Ronan-Lenor/orgs","repos_url":"https://api.github.com/users/Ronan-Lenor/repos","events_url":"https://api.github.com/users/Ronan-Lenor/events{/privacy}","received_events_url":"https://api.github.com/users/Ronan-Lenor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-10-16T14:49:36Z","updated_at":"2015-10-23T15:48:09Z","closed_at":"2015-10-23T15:48:09Z","body":"Hello,\r\ni noticed that when i upload a file on ELFinder, i can't change the argument \"upload_path\" on the server side.\r\nThe reason is simple, the whole configuration is done in the POST x(\r\n\r\n    $src    = $_SERVER[\"REQUEST_METHOD\"] == 'POST' ? $_POST : $queryParameters;\r\n\r\ncan't you find a way to merge the $queryParameters with the POST parameters?\r\nSo my \"upload_path\" could write/overwrite the default \"upload_path\".\r\n\r\ni don't know also the intire process inside Elfinder, but changing the \"upload_path\" from the client side, it isn't a security breach?"}}