Issue Bug Closed

#14228Leading Slash missed in image url

German Live 07/06/04, 09:17 updated 10/18/10, 19:52

Description

hope that is the right extension.
I use the aliasPro extension; so absolute pathes were needed.
Typo3 is quite right configured – but in the cms-extension there is one image without the leading slash:

*** /var/lib/typo3/typo3_src-3.6.1/typo3/sysext/cms/tslib/class.tslib_content.php 2004-07-06 09:03:12.000000000 +0200
—- /var/lib/typo3/typo3_src-3.6.1/typo3/sysext/cms/tslib/class.tslib_content.php.orig 2004-05-11 15:14:26.000000000 +0200
*************** class tslib_cObj {
*** 6546,6552 ****
$GLOBALS[‘TSFE’]->set_no_cache(); // Special content is about to be shown, so the cache must be disabled.
$style = $conf[‘styleAttribute’] ? ‘ style=”’.htmlspecialchars($conf[‘styleAttribute’]).’”’ : ‘’;
$iconTitle = $this->stdWrap($conf[‘iconTitle’],$conf[‘iconTitle.’]);
! $iconImg = $conf[‘iconImg’] ? $conf[‘iconImg’] : ‘‘;
$nV=t3lib_div::_GP(‘ADMCMD_view’)?1:0;
$icon = $this->editPanelLinkWrap_doWrap($iconImg,TYPO3_mainDir.‘alt_doc.php?edit[‘.$rParts0.’][‘.$rParts1.’]=edit&columnsOnly=’.rawurlencode($fieldList).’&noView=’.$nV.$addUrlParamStr,implode(‘:’,$rParts));
if ($conf[‘beforeLastTag’]0) {
--- 6546,6552 ----
$GLOBALS['TSFE']->set_no_cache(); // Special content is about to be shown, so the cache must be disabled.
$style = $conf[‘styleAttribute’] ? ‘ style=”’.htmlspecialchars($conf[‘styleAttribute’]).’”’ : ‘’;
$iconTitle = $this->stdWrap($conf[‘iconTitle’],$conf[‘iconTitle.’]);
! $iconImg = $conf[‘iconImg’] ? $conf[‘iconImg’] : ‘‘;
$nV=t3lib_div::_GP(‘ADMCMD_view’)?1:0;
$icon = $this->editPanelLinkWrap_doWrap($iconImg,TYPO3_mainDir.‘alt_doc.php?edit[‘.$rParts0.’][‘.$rParts1.’]=edit&columnsOnly=’.rawurlencode($fieldList).’&noView=’.$nV.$addUrlParamStr,implode(‘:’,$rParts));
if ($conf[‘beforeLastTag’]<0) {

(issue imported from #M201)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.