private function set_query($iquery)
    {
        if ($iquery === null)
        {
            $this->iquery = null;
        }
        else
        {
            $this->iquery = $this->replace_invalid_with_pct_encoding($iquery, '!$&\'()*+,;=:@/?', true);
            $this->scheme_normalization();
        }
        return true;
    }