[BUGFIX] wrong domain scheme in mail 29/33629/2
authorIvan Kartolo <ivan.kartolo@gmail.com>
Thu, 30 Oct 2014 16:45:17 +0000 (17:45 +0100)
committerIvan Dharma Kartolo <ivan.kartolo@gmail.com>
Thu, 30 Oct 2014 16:48:11 +0000 (17:48 +0100)
TYPO3_REQUEST_URL is changed with TYPO3_SITE_URL, since the later should
be used to get frontend url

Resolves: #60493
Releases: 2.0
Change-Id: I06a31d73d7772ea2a32875c3d5d7e5ac8a76e5f8
Reviewed-on: http://review.typo3.org/33629
Reviewed-by: Ivan Dharma Kartolo <ivan.kartolo@gmail.com>
Tested-by: Ivan Dharma Kartolo <ivan.kartolo@gmail.com>
fe_adminLib.inc

index 3a3b115..058ba77 100644 (file)
@@ -218,7 +218,7 @@ class user_feAdmin  {
                $this->markerArray['###REC_UID###'] = $this->recUid;
                $this->markerArray['###AUTH_CODE###'] = $this->authCode;
                $this->markerArray['###THIS_ID###'] = $GLOBALS['TSFE']->id;
-               $this->markerArray['###THIS_URL###'] = htmlspecialchars(t3lib_div::getIndpEnv('TYPO3_REQUEST_DIR'));
+               $this->markerArray['###THIS_URL###'] = htmlspecialchars(t3lib_div::getIndpEnv('TYPO3_SITE_URL'));
                $this->markerArray['###HIDDENFIELDS###'] =
                        ($this->cmd?'<input type="hidden" name="cmd" value="'.htmlspecialchars($this->cmd).'" />':'').
                        ($this->authCode?'<input type="hidden" name="aC" value="'.htmlspecialchars($this->authCode).'" />':'').