Skip to content

Commit

Permalink
Merge pull request reinhardfuehricht#7 from onigunn/abs-marker-wrong-url
Browse files Browse the repository at this point in the history
Marker ABS_URL generates broken action URLs
  • Loading branch information
reinhardfuehricht committed May 30, 2016
2 parents ea9c377 + 9ca37d8 commit 2dee22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/View/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ protected function fillDefaultMarkers()
$markers['###TIMESTAMP###'] = htmlspecialchars($this->gp['formtime']);
}
$markers['###RANDOM_ID###'] = htmlspecialchars($this->gp['randomID']);
$markers['###ABS_URL###'] = \TYPO3\CMS\Core\Utility\GeneralUtility::locationHeaderUrl('') . $path;
$markers['###ABS_URL###'] = \TYPO3\CMS\Core\Utility\GeneralUtility::locationHeaderUrl($path);
$markers['###rel_url###'] = $markers['###REL_URL###'];
$markers['###timestamp###'] = $markers['###TIMESTAMP###'];
$markers['###abs_url###'] = $markers['###ABS_URL###'];
Expand Down

0 comments on commit 2dee22b

Please sign in to comment.