Skip to main content

URL_SAFE

Constant URL_SAFE 

Source
pub const URL_SAFE: &[u8] = b"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
Expand description

URL-safe base64 alphabet — RFC 4648 §5. A-Z, a-z, 0-9, -, _. 64 characters.

Safe to embed directly in URL paths and query strings without percent-encoding.