« Previous | Next » 

Revision 4f8708ed


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