mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Make mime_find_header_token return a Vec directly as callers turned it into a Vec. This way, we do not need sections_values arg anymore. Also do not build the complete hashmap of all tokens, when we are just looking for one token. Instead, iterate the token until we find the right name, and directly return its value. This changes the behavior in case of repetitions as we are now using the first token instead of the last one. Fixes quoted unescaping as mime_parse_value_delimited does the escaping itself the right way and returns a Vec These API changes will be useful to support rfc2231 part 4 about charset and language. Ticket: 9157 |
21 hours ago | |
|---|---|---|
| .. | ||
| .cargo | 2 years ago | |
| derive | 6 days ago | |
| ffi | 6 days ago | |
| htp | 6 days ago | |
| src | 21 hours ago | |
| suricatactl | 6 days ago | |
| suricatasc | 6 days ago | |
| sys | 6 days ago | |
| .gitignore | 2 years ago | |
| Cargo.lock.in | 2 days ago | |
| Cargo.toml.in | 2 days ago | |
| Makefile.am | 6 days ago | |
| cbindgen.toml | 4 months ago | |
| rustfmt.toml | 3 years ago | |