pub fn safe_upload_filename(filename: &str) -> Option<String>Expand description
Normalizes an uploaded filename to one safe basename.
§Parameters
filename: Input consumed bycrate::runtime::dynamic::safe_upload_filename.
§Returns
Returns Some when crate::runtime::dynamic::safe_upload_filename can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::dynamic::safe_upload_filename.
§Examples
ⓘ
let _result = pharos_native::runtime::dynamic::safe_upload_filename(todo!());§Related
crate::runtime::dynamicfor adjacent helpers that share the same runtime surface.