Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61588

Failed to convert API response to XML: INVALID_CHARACTER_ERR

      Hi,

      im using :

      zap-version : 2.8.1

      zap-plugin 1.1.0 :  https://plugins.jenkins.io/zap

      Jenkins version : 2.204.5

       

      im using zap script-based-authentication. After the script is loaded in jenkins i got following exception. See attachment.

      error.txt

       

      Is this a bug inside the plugin ?

       

          [JENKINS-61588] Failed to convert API response to XML: INVALID_CHARACTER_ERR

          Hi,

          I have exactly the same issue! The script-based authentication is used with a JS script to connect through a Django interface.

          https://github.com/zaproxy/community-scripts/blob/master/authentication/DjangoAuthentication.js

           

          ZAP : 2.8.1

          zap-plugin : 1.1.0

          jenkins :  2.164.1

           

          I'm going to follow closely the resolution.

          Thanks.

          Romain Deldicque added a comment - Hi, I have exactly the same issue! The script-based authentication is used with a JS script to connect through a Django interface. https://github.com/zaproxy/community-scripts/blob/master/authentication/DjangoAuthentication.js   ZAP : 2.8.1 zap-plugin : 1.1.0 jenkins :  2.164.1   I'm going to follow closely the resolution. Thanks.

          Hi,

          well I think I've found the problem, it seems to be related to a space problem I was using in script and that's not supported by XML. I'll put a link to the part that talks about it. Ghlf!

          https://stackoverflow.com/questions/22440902/i-keep-getting-error-while-trying-to-create-an-xml-file

          Romain Deldicque added a comment - Hi, well I think I've found the problem, it seems to be related to a space problem I was using in script and that's not supported by XML. I'll put a link to the part that talks about it. Ghlf! https://stackoverflow.com/questions/22440902/i-keep-getting-error-while-trying-to-create-an-xml-file

            jordangs Goran Sarenkapa
            yassirb yassir bonyad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: