mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
FIX Base URL defaults to a slash in currentURL if not defined already
This commit is contained in:
parent
8b12e97d7a
commit
ba9ad55274
@ -185,8 +185,7 @@ class ParameterConfirmationToken
|
|||||||
protected function currentURL()
|
protected function currentURL()
|
||||||
{
|
{
|
||||||
return Controller::join_links(
|
return Controller::join_links(
|
||||||
BASE_URL,
|
BASE_URL ?: '/',
|
||||||
'/',
|
|
||||||
$this->request->getURL(false)
|
$this->request->getURL(false)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user