One more fix to URL slash handling! :)
This commit is contained in:
@@ -31,7 +31,7 @@ class URL {
|
|||||||
$base = 'https://'.substr($base, 7);
|
$base = 'https://'.substr($base, 7);
|
||||||
}
|
}
|
||||||
|
|
||||||
return rtrim($base, '/').'/'.ltrim($url, '/');
|
return rtrim($base, '/').'/'.trim($url, '/');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user