Issue Bug Closed

#67671Logout from Backend throws exception due to malformed URL

Daniel Goerz 06/22/15, 10:28 updated 10/02/18, 11:44

Description

Since the refactoring of the User-Box to use fluid, it is no longer possible to logout from the Backend or to switch back to your own user after you switched in the BackenUser module.

The reason is a htmlencoded “&” which is representated as “&” in the URL. So the Module-Token is no longer recognized.

My current logut-URL looks like this:

http://my.core.loc/typo3/mod.php?M=logout&moduleToken=2739b4134abaea55df1c703677d0ac7ff4ab93ca

This URL is produced by the following Code in \TYPO3\CMS\Backend\Backend\ToolbarItems\UserToolbarItem, line 109

htmlspecialchars(BackendUtility::getModuleUrl('logout'))

Reviews 1