Actions
Bug #22930
closedabsRefPrefix should work with $TYPO3_CONF_VARS[BE][RTE_imageStorageDir]
Start date:
2010-06-18
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
If I add magic images in htmlarea RTE, images are always rendered with a relative path, even when absRefPrefix is set.
Solution could be to prepend absRefPrefix to $GLOBALS['TYPO3_CONF_VARS'][BE][RTE_imageStorageDir] in tslib_fe::setAbsRefPrefix()
TS setup:
config.absRefPrefix = http://www.example.com/
RTE:
Add magic image
Expected result:
<img src="http://www.example.com/uploads/RTEmagic... >
Actual result
<img src="uploads/RTEmagic... >
Workaround:
Set $TYPO3_CONF_VARS['FE']['additionalAbsRefPrefixDirectories'] = 'uploads';
(considering that [BE][RTE_imageStorageDir] = 'uploads';)
(issue imported from #M14783)
Files
Actions