Project

General

Profile

Actions

Bug #23468

closed

tslib_fe::fetch_the_id() calls deprecated function idPartsAnalyze()

Added by Steffen Gebert about 14 years ago. Updated about 11 years ago.

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

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)

Actions #1

Updated by Steffen Gebert about 14 years ago

Is this code really only related to simulatestatic, so when $SSD_p is set, we can call the idPartsAnalyze() method of simulatestatic?

Actions #2

Updated by Steffen Gebert almost 13 years ago

  • Target version deleted (0)
  • TYPO3 Version changed from 4.5 to 4.7

Still an issue.

Actions #3

Updated by Markus Klein almost 12 years ago

This has been refactored in TYPO3 CMS 6.0.
Unfortunately this cannot be fixed for 4.x easily.

Actions #4

Updated by Christian Kuhn about 11 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.

Actions

Also available in: Atom PDF