validate_path

Function validate_path 

Source
pub fn validate_path(path: &str) -> Result<String, ValidationError>
Expand description

Validate and sanitize HTTP path

  • Removes control characters
  • Enforces length limits
  • Ensures path starts with /