Bug #32253
closedShortcut redirect doesn't respects the linkVars syntax
100%
Description
Currently the code that creates the redirect url for a shortcut page only respects the linkVars option as list of parameters without additional validation informations like it's documented in the TSRef1. Unfortunatly such paramaters are completely dropped and this leads to major problems on multilanguage sites with the new shortcut redirect feature.
[1] http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/7/3/
The file class.tslib_pagegen.php contains a valid implementation for this issue and should just moved to a nice API method as it does the same thing like the shortcut redirect functionality.
Updated by Mr. Jenkins almost 13 years ago
- Status changed from Accepted to Under Review
Patch set 1 of change I3966eedf284b06b7765f38ca07ea6cd7155babb3 has been pushed to the review server.
It is available at http://review.typo3.org/7015
Updated by Gerrit Code Review almost 13 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7015
Updated by Gerrit Code Review almost 13 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7015
Updated by Gerrit Code Review almost 13 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7015
Updated by Gerrit Code Review almost 13 years ago
Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/8922
Updated by Stefan Galinski almost 13 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset edd4844ad7760d7dd3deb6cba22feaf8749bd062.
Updated by Johannes C. Schulz almost 13 years ago
Hello
I have big trouble with this.
Before Update to 4.6.4 all worked fine, but now additional parameters are stripped from the URL and so authentication failes, trying to access a page.
the url:
http://www.DOMAIN.de/index.php?type=8800881&username=USERNAME&password=PASSWORD
the redirect goes to:
http://www.DOMAIN.de/homepage/?type=8800881
after applying the patched 31333 class.tslib_fe.php the pagetype is kept by the redirect, but username and password are dropped. So I applied this patch. But problem is still there.
I use realURL - maybe there is anything more to do?
Updated by Stefan Galinski almost 13 years ago
Did you tried to add this variables into the linkVars option? Preferably only on the shortcut page?
config.linkVars := addToList(username,password)