rainbeam::routing::pages

Function escape_username

Source
pub fn escape_username(name: &String) -> String
Expand description

Escape a username’s characters if we are unable to find a “good” character

A “good” character is any alphanumeric character.