Bug #23468
tslib_fe::fetch_the_id() calls deprecated function idPartsAnalyze()
| Status: | Closed | Start date: | 2010-08-27 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assigned To: | - | % Done: | 0% |
|
| Category: | - | Spent time: | - | |
| Target version: | - | |||
| TYPO3 Version: | 4.7 | Is Regression: | No | |
| PHP Version: | 5.3 | Sprint Focus: | ||
| Complexity: |
Description
tslib_fe:
/**
* Analyzes the second part of a id-string (after the "+"), looking for B6 or M5 encoding and if found it will resolve it and restore the variables in global $_GET
* If values for ->cHash, ->no_cache, ->jumpurl and ->MP is found, they are also loaded into the internal vars of this class.
*
* @param string String to analyze
* @return void
* @access private
* @deprecated since TYPO3 4.3, will be removed in TYPO3 4.5, please use the "simulatestatic" sysext directly
* @todo Deprecated but still used in the Core!
*/
function idPartsAnalyze($str) {
It's used in fetch_the_id()
// Splitting by a '+' sign - used for base64/md5 methods of parameter encryption for simulate static documents.
list($pgID,$SSD_p)=explode('+',$this->idParts[0],2);
if ($SSD_p) { $this->idPartsAnalyze($SSD_p); }
$this->id = $pgID; // Set id
This code has to be changed! Otherwise we can't log calls or remove this function.
(issue imported from #M15581)
Related issues
History
#1 Updated by Steffen Gebert almost 5 years ago
Is this code really only related to simulatestatic, so when $SSD_p is set, we can call the idPartsAnalyze() method of simulatestatic?
#2 Updated by Steffen Gebert over 3 years ago
- Target version deleted (
0) - TYPO3 Version changed from 4.5 to 4.7
Still an issue.
#3 Updated by Markus Klein over 2 years ago
This has been refactored in TYPO3 CMS 6.0.
Unfortunately this cannot be fixed for 4.x easily.
#4 Updated by Christian Kuhn almost 2 years ago
- Status changed from New to Closed
- Is Regression set to No
Resolved in younger core versions, will not be fixed in older versions anymore.