GeoJSON encoder does not escape strings
---------------------------------------

                 Key: GEOT-3303
                 URL: http://jira.codehaus.org/browse/GEOT-3303
             Project: GeoTools
          Issue Type: Bug
          Components: new modules
    Affects Versions: 2.7-M3
            Reporter: David Winslow
            Priority: Minor
         Attachments: 0001-Escape-strings-when-encoding-JSON.patch

Sometimes the GeoJSON encoder does not write valid JSON, since it doesn't 
escape strings.  To reproduce, try encoding a feature that contains a 
double-quote in any of its attributes, then read it back.

There is a patch based off of trunk attached.

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

        

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to