jetty.project
jetty.project copied to clipboard
Make jetty-http FormFields use new UrlParameterDecoder to decode with allows
trafficstars
Jetty version(s) 12.0.20
Enhancement Description
The recently introduced UrlParameterDecoder from PR #13049 should also be used by jetty-http's FormFields class.
The following concerns need to be addressed to make this happen.
- The
UrlParameterDecoder(which lives in jetty-util) now needs to be public (it is currently package private) - The
UrlParameterDecoderneeds to be adapted to allow either aContent.Sourceor from aContent.Chunk(which live in jetty-io) - Perhaps the
UrlParameterDecoder.CharIteratorneeds to be public enough to allowjetty-httporjetty-ioto house aContent.Sourceversion of aCharIteratorthat theUrlParameterDecodercan use.