Issue Type: Bug Bug
Affects Versions: 2.3.3
Assignee: Andrea Aime
Components: Wicket UI
Created: 02/Jul/13 6:34 AM
Description:

If I create a new SLD and give it a name of "OS VMD - Line - Roads (minor\local\pedestrian)" GeoServer will error out when I press submit.
Seems there isn't any sanity checking of the inputs for characters that are either special to the Operating System.

I get "Oops, something went wrong..."

org.apache.wicket.WicketRuntimeException: java.io.FileNotFoundException: D:\GeoServer_Config_Dir\styles\OS VMD - Line - Roads (minor\local\pedestrian).sld (The system cannot find the path specified) at org.geoserver.wms.web.data.StyleNewPage.onStyleFormSubmit(StyleNewPage.java:61) at org.geoserver.wms.web.data.AbstractStylePage$1.onSubmit(AbstractStylePage.java:109) at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1565) at org.apache.wicket.markup.html.form.Form.process(Form.java:958) at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:920) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

Project: GeoServer
Priority: Major Major
Reporter: Jonathan Moules
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to