Esempio n. 1
0
 /**
  * Returns url-decoded and converted to the current encoding URI of the request (except the query string).
  *
  * @return string
  */
 public function getDecodedUri()
 {
     $parsedUri = new Web\Uri("http://" . $this->server->getHttpHost() . $this->getRequestUri());
     $uri = static::decode($parsedUri->getPath());
     if (($query = $parsedUri->getQuery()) != '') {
         $uri .= "?" . $query;
     }
     return $uri;
 }