Skip to main content

CONFINED_PREVIEW_BYTES

Constant CONFINED_PREVIEW_BYTES 

Source
pub const CONFINED_PREVIEW_BYTES: usize = 32;
Expand description

Maximum number of bytes of a rejected rendered value to include in a TemplateRenderingError::Confined error. Kept small so log lines remain bounded even under attacker-controlled input.