Make sure base64_encode string is the last param
This commit is contained in:
parent
3d5fc89274
commit
f8e8338db8
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user