Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsafe use of CDATA for geojson or json data encoding #648

Open
2 of 8 tasks
gschwind opened this issue Mar 13, 2022 · 0 comments
Open
2 of 8 tasks

Unsafe use of CDATA for geojson or json data encoding #648

gschwind opened this issue Mar 13, 2022 · 0 comments

Comments

@gschwind
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant