Hello, 

I am facing a new issue since I upgraded my geoserver to v2.12.0.

I am using the REST API /workspaces/<ws>/styles/<s> to edit styles, and my
content type header is set to 'application/vnd.ogc.sld+xml;charset=UTF-8'.
This used to work in v2.11.x. But now this error is raised : 

org.geoserver.rest.RestException 400 BAD_REQUEST: Unknown style format
'application/vnd.ogc.sld+xml;charset=UTF-8'
  at
org.geoserver.rest.catalog.StyleController.stylePut(StyleController.java:446)

I need to set the charset to UTF-8 because I have special characters in my
sld file like 'é' or 'è', which are not correctly handled without setting
the charset parameter in the content-type header.

Is there anything planned in order to fix this issue ?

Thanks in advance for your help.

Simon



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-Dev-f3819232.html

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to