Skip to main content

parse_preview_uri

Function parse_preview_uri 

Source
pub fn parse_preview_uri(uri: &str) -> Option<&str>
Expand description

Parse and validate a preview reference, returning the row id. Rejects foreign schemes, empty ids, whitespace, and overlong input before any lookup; a well-formed but unknown id is a lookup miss (expired), not a validation failure.