Bug #91879
closedRedirecting a logged out user to an access restricted page via t3 link does not handle it as 403 but as 404
100%
Description
Example:
Having the redirect directly to www.domain.example/my/restricted/page.html goes do this page and runs the 403 error handler (it is configured to show a page where the felogin plugin is in my case)
Having the redirect configured to t3://page?uid=1234 (where 1234 is the uid of this exact page) the redirect just ends with 404.
Creating a redirect in the redirects module to an access restricted page via t3 link should handle it as 403 instead, currently it handles it as 404.
Updated by S P over 4 years ago
- Subject changed from Redirecting a logged out user to a access restricted page via t3 link does not handle it as 403 but as 404 to Redirecting a logged out user to an access restricted page via t3 link does not handle it as 403 but as 404
Updated by S P over 4 years ago
It should be enough to add this
'linkAccessRestrictedPages' => true
in
RedirectService::getUriFromCustomLinkDetails()
Updated by S P over 4 years ago
- Related to Bug #91892: linkAccessRestrictedPages (typolink setting) should only be considered when building link tags, not when building URIs added
Updated by Oliver Schmidt over 4 years ago
We ran into the same issue. We are using the redirects module to generate shourt urls. Want to use it for restricted pages, too but that didn't worked.
Updated by Markus Klein about 4 years ago
@Stefan P: Would you mind pushing a fix to Gerrit please if you already have a solution at hand?
Updated by Gerrit Code Review almost 4 years ago
- Status changed from New 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/c/Packages/TYPO3.CMS/+/67498
Updated by Gerrit Code Review almost 4 years 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/c/Packages/TYPO3.CMS/+/67498
Updated by Gerrit Code Review almost 4 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67498
Updated by Gerrit Code Review almost 4 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67498
Updated by Gerrit Code Review almost 4 years ago
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67503
Updated by Gerrit Code Review almost 4 years ago
Patch set 2 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67503
Updated by Gerrit Code Review almost 4 years ago
Patch set 3 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67503
Updated by Oliver Bartsch almost 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 2696082580fb1debdeaa691b5c097389797eb666.
Updated by Gerrit Code Review almost 4 years ago
- Status changed from Resolved to Under Review
Patch set 4 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67503
Updated by Oliver Bartsch almost 4 years ago
- Status changed from Under Review to Resolved
Applied in changeset ad978d800f9ca8c8dda1cb97d1278d2305691e33.
Updated by Benni Mack almost 4 years ago
- Status changed from Resolved to Closed