Issue Type: Bug Bug
Affects Versions: 2.1.x, 2.2.x
Assignee: Andrea Aime
Components: WFS
Created: 16/Sep/12 9:46 PM
Description:

The CSV WFS format correctly deals with embedded unix newlines (\n) in attribute data, which ensures the field is enclosed in double-quotes.

FID,geom,label,number\r\n
fid--79854fbd_139d1dd3621_-7fa7,POINT (5 4),"A long label\nwith newlines",2\r\n

When the attribute contains Windows-style newlines, the output is not quoted, which then then splits the record across two lines.

FID,geom,label,number\r\n
fid--79854fbd_139d1dd3621_-7fa7,POINT (5 4),A long label\r\nwith newlines,2\r\n
.

Pull request to follow.

Environment: Linux
Project: GeoServer
Priority: Major Major
Reporter: Robert Coup
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
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to