Closed bobbimanners closed 3 years ago
The suggestion above it too simple-minded. Boundary can be "-----bfgewirsdhbsdki" for example.
Without doing this properly and actually storing the 'boundary' header field (which I would sooner avoid, because bytes), I think we can be more robust.
A MIME header starts with "--" (at beginning of line) and then has a sequence of chars, not including space, then a carriage return.
This is implemented now in the develop branch. uint8_t is_mime_boundary(char *p)
Closed this by mistake.
2.1.0 released.
Right now, any line beginning "--" is considered a MIME separator.
Would be more robust if it looked at 3rd char also and only accepted the line as a separator if it is not '-'.