Bug #20037 ยป 10465.patch
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));
|
||
}
|
||
|