Url Parsing

config:


		'urlManager'=>array(

			'class'=>'CUrlManager',

			'urlFormat'=>'path',

			'showScriptName' => false,

			'caseSensitive'=>false,

		)

url: http://localhost/fame/bso/list/Filter[region]/1/Filter[company]/4?Filter[type]=1

var_dump($_GET):

i think it must be array(1) ‘Filter’, which contains 3 sub arrays: ‘type’, ‘region’ and ‘company’

or it is not a bug?

any ideas?

what version are you using?

I’m trying to reproduce this issue and evaluate possible workarounds.

it was in 1.0.8

i’m note sure, but in 1.0.9 i have seen this too

With the URL you encountered the bug with, I got the following result in $_REQUEST:




Array

(

    [Filter] => Array

        (

            [type] => 1

            [region] => 1

            [company] => 4

        )


)



Could you please show us your URL rules?

I have no URL rules

I couldn’t reproduce this issue. You may have a corrupted version of Yii, can you confirm this bug with a fresh installation as well?