Closed ralfbecker closed 2 years ago
If the content of the form fields contain eg. double quotes or backslashes, they break the JSON encoding of the request.
This pull request fixes that by always using json_encode, not only for files but all values.
Example: 'Test"Ralf' --> "Test\"Ralf" without: "Test"Ralf" which is obviously not ok.
Ralf
If the content of the form fields contain eg. double quotes or backslashes, they break the JSON encoding of the request.
This pull request fixes that by always using json_encode, not only for files but all values.
Example: 'Test"Ralf' --> "Test\"Ralf" without: "Test"Ralf" which is obviously not ok.
Ralf