Task #25802

Add notion of "internal request arguments"

Added by Bastian Waidelich over 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Should have
Category:
MVC
Start date:
2011-04-06
Due date:
% Done:

100%

Estimated time:
Sprint:
PHP Version:
Has patch:
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

Related to TYPO3.Flow - Task #25907: Referrer should only contain the URI of the previous requestNew2011-04-12

Actions
Blocks Conference Management - Story #26663: Solve FLOW3/Phoenix bugs for sprint "Call for Papers"Resolved2011-05-06

Actions
#1

Updated by Sebastian Kurfuerst about 10 years ago

  • Status changed from New to Accepted
  • Assignee set to Sebastian Kurfuerst
  • Target version set to 1.0 beta 1
#2

Updated by Bastian Waidelich about 10 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 10 years ago

  • Status changed from Accepted to Under Review
  • % Done changed from 0 to 90
#5

Updated by Sebastian Kurfuerst about 10 years ago

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

Also available in: Atom PDF