Hi everyone, I have problems uploading an sld via REST. Special characters get converted into something I don't like ;-). The problematic characters are ° and >. If I just copy the sld from my Texteditor (Notepad++) or use the upload funtcion in the interface I have no issues at all.
This is the REST call for uploading the sld: curl -v -u %login% -XPUT -H "Content-type: application/vnd.ogc.sld+xml" -d @%slope%/Hangneigung.sld %url%/styles/Hangneigung_AUT Could the content type be a Problem? Cheers, Niko
Hangneigung.sld
Description: Binary data
Hangneigung.sld
Description: Binary data
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users