[Geoserver-devel] [JIRA] (GEOS-8475) Style API : Unknown style format when charset is in content-type

Simon Chatillon created an issue

GeoServer / BugGEOS-8475

Style API : Unknown style format when charset is in content-type

Issue Type:

BugBug

Affects Versions:

2.12.0

Assignee:

Unassigned

Created:

07/Dec/17 9:51 AM

Priority:

MediumMedium

Reporter:

Simon Chatillon

When using the REST API /workspaces/<ws>/styles/<s> to edit styles, if the
content type header contains the charset, e.g. ‘application/vnd.ogc.sld+xml;charset=UTF-8’, it raises this error :

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)

It used to work with GeoServer v2.11.x

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100074-sha1:e7618fc)

Atlassian logo