Uploaded image for project: 'Content Gateway'
  1. Content Gateway
  2. CGW-233

terms and conditions rest api returning garbage text

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • None
    • None
    • None

    Description

      The following curl command is returning empty garbage terms and conditions. The user name should not have signed the tc yet.

      curl -l -u user:pass -H "Accept: application/xml" -H "Content-Type: application/xml" https://www.jboss.org/download-manager/rest/tc?downloadURL=/content/origin/files/sha256/16/16ea1e0cef29e94c0d795bbc4b4c431dcb14c4d10831dce5ff48194ff4fb2aee/jboss-eap-6.1.0.zip

      The returned text includes:

         <htmlText><![CDATA[hjg]]></htmlText>
         <plainText><![CDATA[khkjh]]></plainText>
      

      Attachments

        Issue Links

          Activity

            People

              dhladky@redhat.com David Hladky
              rob.stryker Rob Stryker (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: