Modify

Opened 14 years ago

Closed 14 years ago

Last modified 6 years ago

#7820 closed defect (fixed)

GeoJSON implementation incorrectly uses escape char on single quote mark

Reported by: RobJN Owned by: team
Priority: normal Milestone:
Component: Core geojson Version:
Keywords: GeoJSON, JSON Cc:

Description

The current export to GeoJSON implementation incorrectly uses escape char (\) on single quote (') within string values. This is not needed within strings [1]. As a consequence the back slash is in itself interpreted as an invalid character, causing the file to not open in OGR based software (e.g. ogr2ogr, qgis, etc..).

[1] http://www.json.org/ -> scroll down to section on strings.

Attachments (0)

Change History (2)

comment:1 by simon04, 14 years ago

Resolution: fixed
Status: newclosed

In 5305/josm:

fix #7820 - GeoJSON implementation incorrectly uses escape char on single quote mark

comment:2 by Don-vip, 6 years ago

Component: CoreCore geojson

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.