Task #56364

Epic #55070: Workpackages

Epic #55066: WP: Security enhancements

Story #55516: Reduce the number of backend script entry points

Redirect after switch-to-user broken

Added by Philipp Wrann over 1 year ago. Updated over 1 year ago.

Status:Resolved Start date:2014-02-27
Priority:Must have Due date:
Assigned To:Helmut Hummel % Done:

100%

Category:Backend User Interface Spent time: 0.75 hour
Target version:next-patchlevel
TYPO3 Version:6.2 Complexity:
PHP Version: Sprint Focus:

Description

When using the switch-back function on a backend user the redirect is broken.
Switching back works.
Switch-to is also broken

It says the loop would never be finished, a 302 is returned in response. The link is like
typo3/mod.php?M=system_BeuserTxBeuser&moduleToken=f5bd1f6b00a64591337153ba2d83b4526092304e&SwitchUser=5&switchBackUser=1

In a working version the link was like
typo3/mod.php?M=system_BeuserTxBeuser&SwitchUser=5&switchBackUser=1

So i guess the token can not be validated and causes a redirect.

Could be caused by (assumed from commit message): 6e9e545


Related issues

related to Core - Task #55670: func entry script cleanup Resolved 2014-02-04
related to Core - Task #55672: info entry script cleanup Resolved 2014-02-08
related to Core - Task #55809: Compat layer for submodules using index.php Resolved 2014-03-07

Associated revisions

Revision 3241387b
Added by Helmut Hummel over 1 year ago

[BUGIFX] Fix Redirect after switch-to-user

The compatibility layer introduced in #55809
causes trouble with the user switch feature.

User switch intentionally redirects to index.php
but the compatibility layer kicks in and redirects
back to the user module, finally leading to an
endless redirect.

This can be resolved by checking for modules which
have been changed and need that compatibility layer.

Resolves: #56364
Releases: 6.2
Change-Id: I74d8c57335af66068383b49dc7d43ea480e631b8
Reviewed-on: https://review.typo3.org/27897
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Oliver Hader
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel

History

#1 Updated by Markus Klein over 1 year ago

  • Category set to Backend User Interface
  • Status changed from New to Accepted
  • Assigned To set to Helmut Hummel
  • Target version changed from 6.2.0 to next-patchlevel
  • Is Regression changed from No to Yes

#2 Updated by Helmut Hummel over 1 year ago

  • Parent task set to #55516

#3 Updated by Gerrit Code Review over 1 year ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27897

#4 Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27897

#5 Updated by Helmut Hummel over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF