summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-11-18 04:24:41 +0000
committerJohn Turner <jturner.usa@gmail.com>2025-11-18 04:24:41 +0000
commite0cc7f6a03008f623d3286678f6dc22f8cebef51 (patch)
treef7dc95aaa6662981bfb1f9db53b3596387ed7791 /src
parentc75a38f6152fffcdb7b044231f7c65da957ece25 (diff)
downloadgentoo-utils-e0cc7f6a03008f623d3286678f6dc22f8cebef51.tar.gz
dont allow "." in repo names
Diffstat (limited to 'src')
-rw-r--r--src/atom/parsers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atom/parsers.rs b/src/atom/parsers.rs
index 47c8c1e..7733f12 100644
--- a/src/atom/parsers.rs
+++ b/src/atom/parsers.rs
@@ -216,7 +216,7 @@ impl<'a> Parseable<'a, &'a str> for Repo {
fn parser() -> Self::Parser {
let start = alphanumeric().or(one_of("_".chars()));
- let rest = alphanumeric().or(one_of("+_.-".chars())).repeated().many();
+ let rest = alphanumeric().or(one_of("+_-".chars())).repeated().many();
start
.and(rest)