Task #25802

Add notion of "internal request arguments"

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

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

related to TYPO3.Flow - Task #25907: Referrer should only contain the URI of the previous request New 2011-04-12
blocks Conference Management - Story #26663: Solve FLOW3/Phoenix bugs for sprint "Call for Papers" Resolved 2011-05-06

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

Also available in: Atom PDF