CJuiAutoComplete sends malformed url when urlManager set to path

This is for Yii Version 1.1.7

I have configured urlManager with urlFormat set to path.

I have an autocomplete field which is an CJuiAutoComplete zii widget and a controller that provides data.

But, when a value is selected from the list, CJuiAutoComplete will append the input term to the URL path in the ‘get’ format

protected\config\main.php




'urlManager'=>array(

     'urlFormat'=>'path',

     'showScriptName'=>false,

),



protected\views\locatii\_form.php




$this->widget('zii.widgets.jui.CJuiAutoComplete', array(

     'name'=>'nume',

     'model'=>$model,

     'attribute'=>'nume', 

     'sourceUrl'=>array('evenimente/autoCompleteLookup'),

     'options'=>array('minLength'=>'2',),

));



protected\controllers\EvenimenteController.php




    public function actionAutoCompleteLookup()

    {

    	Yii::log($_SERVER['REQUEST_URI'], 'warning');

        //outputs: /evenimente/autoCompleteLookup?term=searchitm

    	$res=$this->getLocArr();

	echo CJSON::encode($res);

    }



If I remove urlManager configuration all works fine

But if urlManager is set to path, I get the request like

"/evenimente/autoCompleteLookup?term=searchitm"

when it sould be

"/evenimente/autoCompleteLookup/term/searchitm"