mirror of
https://github.com/YGGverse/net-php.git
synced 2026-03-31 17:15:35 +00:00
fix missed path slash
This commit is contained in:
parent
92eb9b3ba2
commit
16f90cb23b
1 changed files with 5 additions and 0 deletions
|
|
@ -247,6 +247,11 @@ class Address
|
|||
|
||||
if ($path = $this->getPath())
|
||||
{
|
||||
if (!str_starts_with($path, $this->getSeparator()))
|
||||
{
|
||||
$address .= $this->getSeparator();
|
||||
}
|
||||
|
||||
$address .= $path;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue