How do get site search working when I have a special charcter in the search parameter?

I am currently having issues setting up my site search in Piwik. I think that it is due to the fact that I have special characters in my search parameters. The way our seach parameters are structured are as follows:

query[terms]=

Thinking that it is using RegEx to parse out the keyword I tried escaping the [ with a \ and that did not work. This seems to work fine for Google Analytics, and I would rather not have to change the way that we are passing this search parameter. Can some please help??

Hi there, please comment on this issue as this is same bug I believe Site Search isn't tracking Site Searches when search parameter is in format foo[bar] or foo[bar].foo · Issue #3660 · matomo-org/matomo · GitHub