You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -68,14 +67,36 @@ The wasm target still needs one JS-to-wasm copy at the ABI boundary, but it avoi
68
67
69
68
Older nested `multipart/mixed` payloads can be handled by recursively calling `parse` on a part body after extracting the nested boundary from that part's `Content-Type`.
70
69
70
+
### Parser Limits
71
+
72
+
Use `parse_with_limits` or `MultipartParser::new_with_limits` when parsing untrusted uploads on a server boundary. `ParseLimits` can cap the number of parts, the number of headers per part, and the number of header bytes per part. The plain `parse` API stays unlimited for compatibility and small trusted payloads.
73
+
74
+
### Security Notes
75
+
76
+
Treat `filename` as display metadata only. Strip path separators and platform-specific path components before using it in storage, generate your own server-side object names, and keep the original value only as untrusted metadata. Preserve duplicate field names in order unless your application explicitly defines a merge rule. For nested `multipart/mixed`, extract the nested boundary from that part's `Content-Type` and parse the nested body with its own limits.
77
+
78
+
### Binding Artifacts
79
+
80
+
Tag pushes build npm-compatible release artifacts for the JS targets:
The Node binding uses camelCase object fields such as `bodyStart`, `bodyEnd`, `fileName`, and `contentType`. The wasm binding preserves the existing snake_case field names generated by `wasm-bindgen`.
Each release command updates the workspace version in `Cargo.toml`, creates a release commit, and creates the matching `v...` git tag. Tag pushes publish `fastmulp-core` through GitHub Actions trusted publishing.
99
+
Each release command updates the workspace version in `Cargo.toml`, creates a release commit, and creates the matching `v...` git tag. Tag pushes publish `fastmulp-core` through GitHub Actions trusted publishing and attach Node/wasm binding artifacts to the matching GitHub Release.
0 commit comments