Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Could you tell me the details of Configuration options 'whitelisted_classes'
  • Could you tell me the details of  Configuration options  'whitelisted_classes'
  • All data send to a View is encoded by default as a security measure.

    For objects, it means that the view class will try to encode all properties of the object. For some objects, this is not possible because the properties are read-only, causing errors.

    For these classes, you can opt to whitelist them so they are not encoded by default.

    Also, View and Viewmodel classes are whitelisted, as they will encode their own data, you don't want double encoding when you pass a view to a view...

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion