diff --git a/src/models/repo.rs b/src/models/repo.rs index b84a901..6cd5777 100644 --- a/src/models/repo.rs +++ b/src/models/repo.rs @@ -60,7 +60,7 @@ impl FromStr for RepoQualifier { fn from_str(input: &str) -> Result { let is_valid = input.chars().all(|c| { - c.is_ascii_alphanumeric() || c == '-' || c == '_' + c.is_ascii_alphanumeric() || c == '.' || c == '-' || c == '_' }); if !is_valid { @@ -85,7 +85,7 @@ impl FromStr for RepoName { fn from_str(input: &str) -> Result { let is_valid = input.chars().all(|c| { - c.is_ascii_alphanumeric() || c == '-' || c == '_' + c.is_ascii_alphanumeric() || c == '.' || c == '-' || c == '_' }); if !is_valid {