|
The requests issued to the WFS service with the Content-Type: application/x-www-form-urlencoded; charset=UTF-8 header are not recognized as form and parsed as XML resulting in a failure.
Answer is:
CURL: example to reproduce:
NOTE: due to my Windows setup I had to escape "&" with "^" to make it work.
This bug was not present in GeoServer 2.4.8
A working request in the following
The only difference is in the Content-Type header, without the charset.
After a little investigation with Andrea, I suspect this issue is related to a change in the returned value of the getContentType() method in HttpServletRequest class. (https://github.com/geoserver/geoserver/blob/2.4.8/src/ows/src/main/java/org/geoserver/ows/Dispatcher.java#L315)
|