Closed mad-develop closed 5 years ago
URL: https://example.org/login/?return_url=%2F%3Fid%3D1%26foo%3Dbar should result as $_GET['return_url'] = "/?id=1&foo=bar"
instead you get: $_GET['return_url'] = "/?id=1" $_GET['foo'] = "bar"
easiest way to fix this would be to rawurlencode the values before using parse_str
URL: https://example.org/login/?return_url=%2F%3Fid%3D1%26foo%3Dbar should result as $_GET['return_url'] = "/?id=1&foo=bar"
instead you get: $_GET['return_url'] = "/?id=1" $_GET['foo'] = "bar"
easiest way to fix this would be to rawurlencode the values before using parse_str