Project

General

Profile

Bug #20037 ยป 10465.patch

Administrator Admin, 2009-02-18 01:36

View differences:

backend.php (working copy)
* Function to similar to PHPs rawurlencode() which removes TYPO3_SITE_URL;
*/
function rawurlencodeAndRemoveSiteUrl(str) { //
var siteUrl = "' . t3lib_div::getIndpEnv('TYPO3_SITE_URL') . '";
var siteUrl = "' . t3lib_div::getIndpEnv('TYPO3_REQUEST_HOST') . '";
return rawurlencode(str_replace(siteUrl, \'\', str));
}
    (1-1/1)