proto, memoryd: no line of an entry may start with §, and headers are exact
Implemented-By: OpenCode session (model recorded in docs/implementer-log.md)
This commit is contained in:
@@ -118,7 +118,8 @@ fn parse_header(line: &str) -> Option<(Kind, String, String)> {
|
||||
};
|
||||
let untrusted = match parts.get(2) {
|
||||
None => false,
|
||||
Some(s) => *s == "untrusted",
|
||||
Some(&"untrusted") => true,
|
||||
Some(_) => return None,
|
||||
};
|
||||
Some((
|
||||
Kind::Noted { class, untrusted },
|
||||
|
||||
Reference in New Issue
Block a user