CGridView use alternative query building

There has been a issue with the migration to IIS, where double slashes is automatically normalized (in rewrite) to a single slash.

This causes issues when using filtering in cgridview.
https://domain.com/controller/index/filter1//filter2/22

Will be seen as $_GET:
filter1 -> filter2

because the filtering it will show remove the empty value’s slash.

Is there any way to easily modify the way it makes the url, so I want to let it use a query string of ‘?filter1=&filter=22’.

If there is a know fix for IIS I would love to hear about it, or PHP in that case.

I guess there needs to be some character to prevent what you describe. What about using a space there instead, to try preventing the problem? Space in URL is represented by “%20” or “+”.