Project

General

Profile

Bug #14547 » class.t3lib_div.php.amp.patch

Administrator Admin, 2005-05-18 15:18

View differences:

class.t3lib_div.php 2005-05-18 15:13:53.964427280 +0200
$str = t3lib_div::implodeArrayForUrl($thisKeyName,$AVal,$str,$skipBlank,$rawurlencodeParamName);
} else {
if (!$skipBlank || strcmp($AVal,'')) {
$str.='&'.($rawurlencodeParamName ? rawurlencode($thisKeyName) : $thisKeyName).
$str.='&'.($rawurlencodeParamName ? rawurlencode($thisKeyName) : $thisKeyName).
'='.rawurlencode($AVal);
}
}
......
return $tempGetVars;
} else {
$output = array();
$p = explode('&',$string);
$p = preg_split('/&(amp;)?/',$string);
foreach($p as $v) {
if (strlen($v)) {
list($pK,$pV) = explode('=',$v,2);
......
* @see tslib_fe::makeCacheHash(), tslib_cObj::typoLink()
*/
function cHashParams($addQueryParams) {
$params = explode('&',substr($addQueryParams,1)); // Splitting parameters up
$params = preg_split('/&(amp;)?/',substr($addQueryParams,1)); // Splitting parameters up
// Make array:
$pA = array();
......
}
}
?>
?>
(5-5/6)