Roda 3.45.0 Released

11 views
Skip to first unread message

Jeremy Evans

unread,
Jun 14, 2021, 11:48:50 AM6/14/21
to Roda
Roda 3.45.0 has been released!

= Improvements

* The typecast_params plugin checks now checks for null bytes by
  default before typecasting.  If null bytes are present, it raises
  an error.  Most applications do not require null bytes in
  parameters, and in some cases allowing them can lead to security
  issues, especially when parameters are passed to C extensions.
  In general, the benefit of forbidding null bytes in parameters is
  greater than the cost.
  
  If you would like to continue allowing null bytes, use the
  :allow_null_bytes option when loading the plugin.

  Note that this change does not affect uploaded files, since those
  are expected to contain null bytes.

= Backwards Compatibility

* The change to the typecast_params plugin to raise an error for
  null bytes can break applications that are expecting null bytes
  to be passed in parameters.  Such applications should use the
  :allow_null_bytes option when loading the plugin.

Thanks,
Jeremy
Reply all
Reply to author
Forward
0 new messages