(id string)
| 603 | ) |
| 604 | |
| 605 | func validateConversationID(id string) error { |
| 606 | if strings.ContainsAny(id, "\r\n") { |
| 607 | return errors.New("conversation_id must not contain CR or LF") |
| 608 | } |
| 609 | return nil |
| 610 | } |
| 611 | |
| 612 | // normalizeLabel canonicalizes a single label (lowercase, charset |
| 613 | // [a-z0-9:_-], 1..maxLabelLength). allowSystem mirrors the read-side |
no outgoing calls
no test coverage detected