[Geoserver-devel] [jira] Created: (GEOS-1516) WMS kvp parser fails to parse &styles="s1, , s2, , " properly

WMS kvp parser fails to parse &styles="s1,s2," properly
---------------------------------------------------------

                 Key: GEOS-1516
                 URL: http://jira.codehaus.org/browse/GEOS-1516
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
    Affects Versions: 1.6.0-beta4
            Reporter: Andrea Aime
            Assignee: Andrea Aime
            Priority: Critical
             Fix For: 1.6.0-RC1

The above style definition gets parsed into an array with only 3 elements ["s1", "", "s2].
Ironically, this is the result of some recent change about having "less broken windows" :slight_smile:
Easy fix anyways, and the new regexp code looks a lot better than the old one anyways :slight_smile:

For more info about the fix, have a look at Pattern.split(regexp, limit) for limit = 0 and limit < 0

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