Referrer should only contain the URI of the previous request
|Priority:||Should have||Due date:|
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.)