| Summary: | Parse multipart/form-data before it enters the servlet | ||
|---|---|---|---|
| Product: | [RT] Jetty | Reporter: | Jan Bartel <janb> |
| Component: | server | Assignee: | Jan Bartel <janb> |
| Status: | CLOSED MOVED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | bill.mair, jesse.mcconnell, jetty-inbox |
| Version: | 9.3.0 | ||
| Target Milestone: | 9.2.x | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 455655 | ||
| Bug Blocks: | |||
|
Description
Jan Bartel
It should be possible to register a factory to create parser instances that parse "multipart/form-data" (e.g. MultiPartInputStreamParser and MultiPartInputStreamParserFactory). The current implementation should be changed to implement the interface and if no Factory has been registered by the servlet then the default implementation should be used. This would allow servlets to parse and verify the data and compensate for erroneous input. Maybe some kind of Content-Type based request processor registration already exists? |