diff --git a/livesupport/src/modules/storageServer/var/Prefs.php b/livesupport/src/modules/storageServer/var/Prefs.php index a1786dbb7..823e07452 100644 --- a/livesupport/src/modules/storageServer/var/Prefs.php +++ b/livesupport/src/modules/storageServer/var/Prefs.php @@ -137,6 +137,7 @@ class Prefs{ */ function loadGroupPref($sessid, $group, $key) { + // if sessid is would be used here fix Transport::cronCallMethod ! $subjid = $this->gb->getSubjId($group); if(PEAR::isError($subjid)) return $subjid; if(is_null($subjid)){ diff --git a/livesupport/src/modules/storageServer/var/Validator.php b/livesupport/src/modules/storageServer/var/Validator.php index 3e71bfc14..d00ad7086 100644 --- a/livesupport/src/modules/storageServer/var/Validator.php +++ b/livesupport/src/modules/storageServer/var/Validator.php @@ -73,6 +73,7 @@ class Validator{ */ function Validator($format, $gunid) { + $format = strtolower($format); $this->format = $format; $this->gunid = $gunid; $formats = array( diff --git a/livesupport/src/modules/storageServer/var/xmlrpc/put.php b/livesupport/src/modules/storageServer/var/xmlrpc/put.php index 09b7f714b..7abc4e0f8 100644 --- a/livesupport/src/modules/storageServer/var/xmlrpc/put.php +++ b/livesupport/src/modules/storageServer/var/xmlrpc/put.php @@ -79,13 +79,12 @@ if(preg_match("|^[0-9a-fA-F]{16}$|", $_REQUEST['token'])){ $tc = $gb->bsCheckToken($token, 'put'); if(PEAR::isError($tc)){ http_error(500, $ex->getMessage()); } -if(!$tc){ http_error(403, "Token not valid."); } +if(!$tc){ http_error(403, "put.php: Token not valid ($token)."); } #var_dump($tc); exit; header("Content-type: text/plain"); #var_dump($_SERVER); var_dump($_REQUEST); exit; -#$destfile = $_SERVER['PATH_TRANSLATED']; $destfile = "{$config['accessDir']}/{$token}"; /* PUT data comes in on the input stream */