Project

General

Profile

Actions

Bug #97252

closed

TYPO3 Request-Object should reflect the whole original request (including url-hash)

Added by Gabriel Kaufmann / Typoworx NewMedia over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-03-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I noticed the incoming Web-Request in an extbase-controller doesn't contain the url-hash like (https://foo-bar.com/my-action/?tx_foobar_pi1[action]=submit#jump-mark).

This would sometimes be useful and the f:form also has an explicit attribute to set the section which works great.

But imagine this situation:
A site needs to submit using f:form to a controller:submit action to do something with the submit-data and then we want to redirect to a result-page (to get rid of the POST-Data and possible user-caused "re-post" by refreshing browser-page).

It would be great being able to get an optional url-hash like '#jump-here' from the web-request object 'requestUri' as it should reflect our (complete) original request. But it doesn't have this property - whereas the browser-URL has it.

Actions

Also available in: Atom PDF