protected function removeUriQueryArguments($redirectUri)
    {
        $uri = new \Neos\Flow\Http\Uri($redirectUri);
        $uri->setQuery(null);
        $redirectUri = (string)$uri;

        return $redirectUri;
    }
protected function removeUriQueryArguments($redirectUri)
    {
        $uri = new \Neos\Flow\Http\Uri($redirectUri);
        $uri->setQuery(null);
        $redirectUri = (string)$uri;

        return $redirectUri;
    }
protected function removeUriQueryArguments ( $ redirectUri ) { $ uri = new \ Neos \ Flow \ Http \ Uri ( $ redirectUri ) ; $ uri -> setQuery ( null ) ; $ redirectUri = ( string ) $ uri ; return $ redirectUri ; }
Remove query arguments from the given URI

@param string $redirectUri
@return string
Remove query arguments from the given URI