Issue Bug Closed

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

Steffen Gebert 08/27/10, 22:49 updated 09/14/13, 23:07

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)

Reviews 0

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