[Geoserver-devel] [jira] Created: (GEOS-3243) Layers with spaces in the name

Layers with spaces in the name
------------------------------

                 Key: GEOS-3243
                 URL: http://jira.codehaus.org/browse/GEOS-3243
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 2.0.x
            Reporter: Sebastian Benthall
            Assignee: Andrea Aime
            Priority: Critical

This layer has been added to a GeoServer instance. It has spaces in its name, which I've been told is a bug.

{code}
      <Layer queryable="1">
        <Name>topp:PREDIOS SAN JUAN DEL SUR_Riesgo</Name>
        <Title/>
        <Abstract/>
        <KeywordList/>
        <SRS>EPSG:4326</SRS>
        <!--WKT definition of this CRS:
GEOGCS["WGS 84",
  DATUM["World Geodetic System 1984",
    SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
    AUTHORITY["EPSG","6326"]],
  PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
  UNIT["degree", 0.017453292519943295],
  AXIS["Geodetic longitude", EAST],
  AXIS["Geodetic latitude", NORTH],
  AUTHORITY["EPSG","4326"]]-->
        <LatLonBoundingBox minx="-85.881" miny="11.247" maxx="-85.852" maxy="11.269"/>
        <BoundingBox SRS="EPSG:4326" minx="-85.881" miny="11.247" maxx="-85.852" maxy="11.269"/>
        <Style>
          <Name>polygon</Name>
          <Title>Default polygon style</Title>
          <Abstract>A sample style that just draws out a solid gray interior with a black 1px outline
</Abstract>
          <LegendURL width="20" height="20">
            <Format>image/png</Format>
            <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink&quot; xlink:type="simple" xlink:href
="http://capra.opengeo.org:80/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&amp;FORMAT=image/png&amp;WIDTH
=20&amp;HEIGHT=20&amp;LAYER=PREDIOS SAN JUAN DEL SUR_Riesgo"/>
          </LegendURL>
        </Style>
      </Layer>
{code}

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira