Stripping query string from REQUEST_URI

Stripping query string from REQUEST_URI when comparing to base_url.

When using subfolders and contexts for a multilingual site, adding query string to the homepage results in a 301 redirect.