Project

General

Profile

Bug #19756 » 10043_v2.diff

Administrator Admin, 2009-01-02 18:49

View differences:

t3lib/class.t3lib_div.php (working copy)
*
* @param string Key (variable name) from GET or POST vars
* @return array Returns the GET vars merged recursively onto the POST vars.
* @ignore
* @deprecated since TYPO3 3.7
*/
public static function GParrayMerged($var) {
$postA = is_array($_POST[$var]) ? $_POST[$var] : array();
t3lib/stddb/tables.php (working copy)
* Each key is a value from the "module" field of page records and the value is an array with a key/value pair, eg. "icon" => "modules_shop.gif"
*
* @see t3lib_iconWorks::getIcon(), typo3/sysext/cms/ext_tables.php
* @deprecated since TYPO3 3.7
*/
$ICON_TYPES = array();
typo3/sysext/openid/class.tx_openid_eid.php (working copy)
// Redirect to the original location in any case (authenticated or not)
@ob_end_clean();
header(t3lib_div::HTTP_STATUS_303);
header('Location: ' . t3lib_div::locationHeaderUrl(t3lib_div::GPvar('tx_openid_location')));
header('Location: ' . t3lib_div::locationHeaderUrl(t3lib_div::_GP('tx_openid_location')));
exit;
}
}
......
/* @var tx_openid_eID $module */
$module->main();
?>
?>
typo3/sysext/openid/sv1/class.tx_openid_sv1.php (working copy)
$this->loginData = $loginData;
$this->authenticationInformation = $authenticationInformation;
// If we are here after authentication by the OpenID server, get its response.
if (t3lib_div::GPvar('tx_openid_mode') == 'finish' && $this->openIDResponse == null) {
if (t3lib_div::_GP('tx_openid_mode') == 'finish' && $this->openIDResponse == null) {
$this->includePHPOpenIDLibrary();
$openIDConsumer = $this->getOpenIDConsumer();
$this->openIDResponse = $openIDConsumer->complete($this->getReturnURL());
......
// LiveJournal server converts all underscore characters in the
// original identfier to dashes.
if ($this->openIDResponse->status == Auth_OpenID_SUCCESS) {
$claimedOpenIDIdentifier = t3lib_div::GPvar('tx_openid_claimed');
$claimedOpenIDIdentifier = t3lib_div::_GP('tx_openid_claimed');
if ($claimedOpenIDIdentifier) {
$userRecord = $this->getUserRecord($claimedOpenIDIdentifier);
$this->writeLog('User \'%s\' logged in with OpenID \'%s\'',
......
$absoluteSiteURL = substr(t3lib_div::getIndpEnv('TYPO3_SITE_URL'), strlen(t3lib_div::getIndpEnv('TYPO3_REQUEST_HOST')));
$returnURL = $absoluteSiteURL . TYPO3_mainDir . 'sysext/' . $this->extKey . '/class.tx_openid_return.php?login_status=login&';
}
if (t3lib_div::GPvar('tx_openid_mode') == 'finish') {
$requestURL = t3lib_div::GPvar('tx_openid_location');
$claimedIdentifier = t3lib_div::GPvar('tx_openid_claimed');
if (t3lib_div::_GP('tx_openid_mode') == 'finish') {
$requestURL = t3lib_div::_GP('tx_openid_location');
$claimedIdentifier = t3lib_div::_GP('tx_openid_claimed');
} else {
$requestURL = t3lib_div::getIndpEnv('TYPO3_REQUEST_URL');
$claimedIdentifier = $this->loginData['uname'];
......
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/openid/sv1/class.tx_openid_sv1.php']);
}
?>
?>
(3-3/3)