« Previous | Next » 

Revision 4f8708ed

ID4f8708ed15e7fca71921f58a9d1fb38dd6f28f13

Added by Bastian Waidelich over 10 years ago

[+BUGFIX] Request arguments should never contain objects

Request arguments are serialized in Fluid forms in order to generate the
hidden referrer fields that are required to "replay" the last request in
case of an validation error. If a request argument is a complex type,
the value of the __referrer[arguments] hidden field gets huge which
poses 3 major issues:

1. you'll have to transfer a lot of unnecessary data
2. the URI for redirects will grow to a point where the browser dies
3. if an object is not serializable, you get serialization errors

Fixes: #25801
Change-Id: Ia7b2c9972003c3f91170dc63db43ef2b3c15fc4e

  • added
  • modified
  • copied
  • renamed
  • deleted