pub(crate) fn check_id(id: &str) -> Result<()>Expand description
Check a container ID, which the runtimes take as a positional argument. One which starts with a dash would be taken for an option. The spans of the requests show the ID in every log line about the container, one with control characters, like a line break or an escape sequence, could forge lines there. The requests check it before they set anything up.