geopython/pywps

Unsafe use of CDATA for geojson or json data encoding

Opened this issue · 0 comments

Description

ComplexInput._json_data encode geojson to json using CDATA, but it's unsafe since geojson may use "]]>" inside string or key and CDATA forbid this.

Environment

  • operating system: all
  • Python version: all
  • PyWPS version: pywps-4.4
  • source/distribution
  • git clone
  • Debian
  • PyPI
  • zip/tar.gz
  • other (please specify):
  • web server
  • Apache/mod_wsgi
  • CGI
  • other (please specify):

Steps to Reproduce

Additional Information