Bug #32987
closed"\\"\\\\x98\\" from ASCII-8BIT to UTF-8"\' error while trying to delete oval content.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1980754
*Description of problem:
"\\"\\\\x98\\" from ASCII-8BIT to UTF-8" error while trying to delete oval content.
Version-Release number of selected component (if applicable):
tfm-rubygem-smart_proxy_openscap-0.9.0-1
How reproducible:
Always
Steps to Reproduce:
1. Create a oval content
curl -H "Accept: text/multipart" -k -X POST -u admin:password https://$(hostname)/api/v2/compliance/oval_contents -F \'oval_content[name]=jboss\' -F \'oval_content[scap_file]=@jboss-eap-7.oval.xml.bz2\' | json_reformat
2. Try to delete oval content.
curl -H "Accept: application/json" -X DELETE -u admin:password https://$(hostname)/api/v2/compliance/oval_contents/1 | json_reformat
Actual results: { "error": { "message": "\\"\\\\x98\\" from ASCII-8BIT to UTF-8" } }
Expected results:
No error while trying to delete oval content.