New KML Reflector does not validate the number of filters in the request 
matches the number of layers in the request
--------------------------------------------------------------------------------------------------------------------

                 Key: GEOS-2159
                 URL: http://jira.codehaus.org/browse/GEOS-2159
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
    Affects Versions: 1.6.4
            Reporter: Matt Bucknam
            Assignee: Andrea Aime


The new KML Reflector 
(/wms/src/main/java/org/vfny/geoserver/wms/responses/map/kml/KMLReflector.java) 
does not validate the request contains the same number of filters as it does 
layers like the old one did 
(/wms/src/main/java/org/vfny/geoserver/wms/servlets/KMLReflector.java)

This causes an array index out of bound exception instead of the more 
descriptive error message given in the old one.

I would like to put these checks as well as some other request parameter checks 
in the new reflector and bail early if they fail with a descriptive message. I 
can submit a patch if it sounds like a good solution.  

-- 
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

        

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to