mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02: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()
|
||||
{
|
||||
return Controller::join_links(
|
||||
BASE_URL,
|
||||
'/',
|
||||
BASE_URL ?: '/',
|
||||
$this->request->getURL(false)
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user