Make sure base64_encode string is the last param

This commit is contained in:
Michael RICOIS 2012-06-05 15:43:22 +00:00
parent 3d5fc89274
commit f8e8338db8

View File

@ -229,8 +229,8 @@ class TelechargementController extends Zend_Controller_Action
//Authenticate info
$auth = Zend_Auth::getInstance();
$identity = $auth->getIdentity();
$authinfo = '?login='.$identity->username.'&hach='.$identity->password;
$url = $url.'/'.$q.$authinfo;
$authinfo = '/login/'.$identity->username.'/hach/'.$identity->password;
$url = $url.$authinfo.'/'.$q;
$file = $this->getFile($url);