CGridView search with "&" contains attributes

Hi,

I am using Yii 1.1.15 framework.

I can’t search & contains symbol in a attribute (example brand_name). If enter & symbol the url form like this

localhost/doctors/brand/?brand[brand_name]=&&brand[brand_status]=

here the case is brand[brand_name]=& it is not consider the & is take next parameter termination, if i just url encode that character %26 localhost/doctors/brand/?brand[brand_name]=%26&brand[brand_status]= it’s give correct result.

6417

afetr-search.jpg

But how to encode yii CGridView filter text data?

Thanks in advance.