Task #25907
Referrer should only contain the URI of the previous request
Status:
New
Priority:
Should have
Assignee:
-
Category:
MVC
Target version:
-
Start date:
2011-04-12
Due date:
% Done:
0%
Estimated time:
Sprint:
PHP Version:
Has patch:
Complexity:
Description
Currently we store all the referrer parts (package, subpackage, controller, action & arguments) of the original request (and it's parent request if it is a sub request) in the hidden referrer fields of each Fluid form.
This is quite expensive and fails for arguments that are not serializable. The latter should be fixed with #25801, but it would be nicer to simply store the (relative?) referrer URI in a hidden field.
It is needed only in case of a validation error and in that case the Router could be used to get package & co from the referrer URI.
NOTE: POST arguments will be lost (a POST request to an edit form e.g.)
Related issues
No data to display