Upgrade to 3.0.1
This commit is contained in:
@@ -516,7 +516,7 @@ class Uri
|
||||
$slash = false;
|
||||
}
|
||||
|
||||
$path = $this->path->toString($slash) . $this->params->toString($slash);
|
||||
$path = $this->path->toString($slash) . $this->params->toString(true);
|
||||
|
||||
if ($this->slash && $slash === true) {
|
||||
$path .= '/';
|
||||
|
@@ -250,10 +250,10 @@ class Url
|
||||
* Smart resolver for internal and external urls
|
||||
*
|
||||
* @param string $path
|
||||
* @param array $options
|
||||
* @param $options
|
||||
* @return string
|
||||
*/
|
||||
public static function to(string $path = null, array $options = null): string
|
||||
public static function to(string $path = null, $options = null): string
|
||||
{
|
||||
// keep relative urls
|
||||
if (substr($path, 0, 2) === './' || substr($path, 0, 3) === '../') {
|
||||
|
Reference in New Issue
Block a user