Task #25802
Add notion of "internal request arguments"
Status: | Resolved | Start date: | 2011-04-06 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Sebastian Kurfuerst | % Done: | 100% |
|
Category: | MVC | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 beta 1 | |||
Sprint: | Has patch: | |||
PHP Version: | Complexity: |
Description
The referrer fields that Fluid adds to all forms currently end up in the target request and thus in the form action of the next form.
Request arguments that start with two underscores should be "framework internal".Request::getArguments()
should only return arguments that do not start with two underscores and we should add a non-API method Request::getReferrer()
Request::getReferringRequest()
that would build a request object on the fly.
Related issues
History
#1 Updated by Sebastian Kurfuerst about 4 years ago
- Status changed from New to Accepted
- Assigned To set to Sebastian Kurfuerst
- Target version set to 1.0 beta 1
#2 Updated by Bastian Waidelich about 4 years ago
Note: not only arguments starting with two underscores should be handled "internal", also arguments starting with "@". The check in the Router lines 169ff (http://git.typo3.org/FLOW3/Packages/FLOW3.git?a=blob;f=Classes/MVC/Web/Routing/Router.php;h=e90dfce9ea2362f2166348d279ea695e876daf2e;hb=HEAD#l169) could then be moved to the request. But we'll have to take care to keep the current override behavior (see Router::route()).
#3 Updated by Sebastian Kurfuerst about 4 years ago
- Status changed from Accepted to Under Review
- % Done changed from 0 to 90
#5 Updated by Sebastian Kurfuerst about 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 90 to 100