[FOLLOWUP][TASK] Remove unnecessary usage of the encryption key
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Page / PageRenderer.php
index dec132e..bbfd71f 100644 (file)
@@ -1481,7 +1481,7 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface {
                        if (GeneralUtility::getApplicationContext()->isDevelopment()) {
                                $this->requireJsConfig['urlArgs'] = 'bust=' . $GLOBALS['EXEC_TIME'];
                        } else {
-                               $this->requireJsConfig['urlArgs'] = 'bust=' . GeneralUtility::shortMD5(TYPO3_version);
+                               $this->requireJsConfig['urlArgs'] = 'bust=' . GeneralUtility::hmac(TYPO3_version . PATH_site);
                        }
                        // first, load all paths for the namespaces, and configure contrib libs.
                        $this->requireJsConfig['paths'] = array(