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.
suricata/rust
Philippe Antoine 94d512cffe mime: rework mime_find_header_token
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 rust: rename .cargo/config to .cargo/config.toml 2 years ago
derive rust: inherit common package metadata from workspace 6 days ago
ffi rust: hoist suricata-sys dependency into workspace 6 days ago
htp rust: hoist nom 8 dependency into workspace 6 days ago
src mime: rework mime_find_header_token 21 hours ago
suricatactl rust: hoist regex dependency into workspace 6 days ago
suricatasc rust: hoist serde_json dependency into workspace 6 days ago
sys rust: inherit common package metadata from workspace 6 days ago
.gitignore rust: rename .cargo/config to .cargo/config.toml 2 years ago
Cargo.lock.in rust: update zstd 2 days ago
Cargo.toml.in rust: update zstd 2 days ago
Makefile.am rust/derive: add Makefile for Cargo.toml regeneration 6 days ago
cbindgen.toml http2: split transaction state machines 4 months ago
rustfmt.toml rustfmt: replace deprecated fn_args_layout with fn_params_layout 3 years ago