Bug report #13118
QGIS Server - WFS - GeoJSON and escaping line breaks
|Affected QGIS version:||2.8.2||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||21183|
Line breaks are not properly handled in GeoJSON results when making GetFeature requests.
Line breaks should be replaced by \\\
if I'm correct.
#2 Updated by Henrik Uggla about 4 years ago
This GeoJSON document contains linebreaks coded as \
If I add that document to a published Qgis Server project and try to access it with wfs using outputformat=GeoJSON, then I get a broken GeoJSON response where \
has been substituted with ordinary line breaks.
#4 Updated by René-Luc ReLuc about 4 years ago
- Resolution set to fixed/implemented
- Status changed from Open to Closed
Fixes by commit 016f497726932ea7380351f1a947265f3b4d114e
backport to 2.12 commit 25db1cc33c65d893db3edecf862dc74f665fd874
backport to 2.8 commit 84971466848d0a7527096c5c2f660465f9183b8f
reopen if needed