romanoza
(Romanoza)
1
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?
qiang
(Qiang Xue)
3
what version are you using?
pestaa
(Pestaa)
4
I’m trying to reproduce this issue and evaluate possible workarounds.
romanoza
(Romanoza)
5
it was in 1.0.8
i’m note sure, but in 1.0.9 i have seen this too
pestaa
(Pestaa)
6
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?
pestaa
(Pestaa)
8
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?