Skip to main content

normalize_relative_key

Function normalize_relative_key 

Source
pub fn normalize_relative_key(
    value: &str,
    policy: ObjectKeyPolicy,
) -> Result<String>
Expand description

Normalize a source-relative object key.

The result uses / separators, rejects traversal, and optionally applies Windows filename portability rules.