mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
src build elFinder-2.1-0476faa
This commit is contained in:
@@ -182,8 +182,7 @@ class elFinderVolumeDropbox extends elFinderVolumeDriver {
|
||||
// get customdata
|
||||
$cdata = '';
|
||||
$innerKeys = array('cmd', 'host', 'options', 'pass', 'protocol', 'user');
|
||||
$post = (strtolower($_SERVER['REQUEST_METHOD']) === 'post')? $_POST : $_GET;
|
||||
foreach($post as $k => $v) {
|
||||
foreach($this->ARGS as $k => $v) {
|
||||
if (! in_array($k, $innerKeys)) {
|
||||
$cdata .= '&' . $k . '=' . rawurlencode($v);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user