[TYPO3-core] RFC #12706: Bug: OpenID redirects to wrong page and does not create a BE session

Martin Kutschker masi-no at spam-typo3.org
Tue Nov 24 12:16:40 CET 2009


Steffen Müller schrieb:
> Hi,
> 
> this is a SVN patch request.
> 
> Type: Bugfix, no-brainer
> 
> Bugtracker references: http://bugs.typo3.org/view.php?id=12706
> 
> Branches: Trunk
> 
> Problem:
> OpenID login does not work. Login triggers the following warning:
> PHP Warning:
> file_put_contents(/path/to/site/typo3temp:tx_openid/.htaccess): failed
> to open stream: No such file or directory in
> /path/to/typo3_src/typo3_src-trunk/typo3/sysext/openid/sv1/class.tx_openid_sv1.php
> line 330
> 
> The openid service class uses wrong constant PATH_SEPARATOR:
> 
> Additional information:
> Line 325 of openid/sv1/class.tx_openid_sv1.php
> $openIDStorePath = PATH_site . 'typo3temp' . PATH_SEPARATOR . 'tx_openid';
> 
> This results in .../typo3temp:tx_openid
> But it should be .../typo3temp/tx_openid
> 
> This problem exists since rev.6451
> 
> Solution:
> DIRECTORY_SEPARATOR should be used instead of PATH_SEPARATOR

Probably ok, but what went wrong with your posting?

Content-Type: application/pgp-keys;
 name="bug_12706.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="bug_12706.diff"

Masi


More information about the TYPO3-team-core mailing list