|
@@ -290,7 +290,7 @@ function qualifyURL($url) {
|
|
|
// Port
|
|
// Port
|
|
|
$port = (isset($digest['port'])?':'.$digest['port']:'');
|
|
$port = (isset($digest['port'])?':'.$digest['port']:'');
|
|
|
// Path
|
|
// Path
|
|
|
- $path = (isset($digest['path'])?$digest['path']:'');
|
|
|
|
|
|
|
+ $path = (isset($digest['path']) && $digest['path'] !== '/'?$digest['path']:'');
|
|
|
// Output
|
|
// Output
|
|
|
return $scheme.'://'.$host.$port.$path;
|
|
return $scheme.'://'.$host.$port.$path;
|
|
|
}
|
|
}
|