Skip to main content

validate_session_id

Function validate_session_id 

Source
pub fn validate_session_id(session_id: &str) -> Result<()>
Expand description

Reject session IDs that could be used for path traversal or other abuse.

Allowed characters: ASCII letters, digits, hyphens, and underscores.