Project

General

Profile

Actions

Bug #22832

closed

fe_adminLib.inc is incompatible with absRefPrefix

Added by Sigfried Arnold over 14 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-06-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

###FORM_URL### is filled by typoLink_URL() while ###THIS_URL### is filled by t3lib_div::getIndpEnv('TYPO3_REQUEST_DIR').

Combining both will result in a faulty URL if you use - for example - just a slash as absRefPrefix.

Problem exists in all Extensions using ###THIS_URL### in Templates and its impossible to correct this issue by just changing the Template.

Solution is switching TYPO3_REQUEST_DIR to TYPO3_REQUEST_HOST - but this will break compatiblity to all extensions relying on that - such als direct_mail_subscription.

Another solution is adding a second value ###THIS_HOST### and fill it with TYPO3_REQUEST_HOST.


Optionaly: substituteMarkerArray or fillInMarkerArray could be extended to parse TYPO3-Enviroment-Variables by default. So if you use ###TYPO3_REQUEST_HOST### in a Template, it will be magicaly replaced by the value from t3lib_div::getIndpEnv('TYPO3_REQUEST_DIR').

(issue imported from #M14649)

Actions #1

Updated by Chris topher over 11 years ago

  • Status changed from New to Closed
  • Target version deleted (0)
  • TYPO3 Version set to 4.1

fe_adminLib.inc no longer is part of the TYPO3 core; it has been removed.

Actions #2

Updated by Marcus Krause over 11 years ago

fe_adminLib.inc is part of TYPO3 4.5 which has not reached EOL

Actions

Also available in: Atom PDF