My $_SERVER['QUERY_STRING']
returns this:
route=common/home/test/aHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g%2Fdj1iZWsxeTJ1aVFHQQ%3D%3D/456¶m2=test
As we can see that there is base64 encoded string passed with get request. I want to parse route parameter without decoding its value.
I need this one:
common/home/test/aHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g%2Fdj1iZWsxeTJ1aVFHQQ%3D%3D/456
Not this one:
common/home/test/aHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g/dj1iZWsxeTJ1aVFHQQ==/456
I tried to parse route parameter with parse_str function. But it decoded the route's value.