Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-2951

Creative Commons not using proxy to download licenses

    XMLWordPrintable

    Details

    • Attachments:
      0
    • Comments:
      2
    • Documentation Status:
      Needed

      Description

      We have the proxy configured in dspace.cfg, but still the code that downloads the licenses from the creative commons API is not using it to access the site as seen thru tcpdump.

      The code at CreativeCommons does have a static to configure the proxy, but that is not present at the class CCLookup where we are having the problem.

      Maybe the code in CCLookup was split from CreativeCommons? Or the developer expected CreativeCommons to always have been loaded by the JVM before CCLookup methods are executed?

      This static code to configure the proxy only inside CreativeCommons class seems fishy. But I will submit a patch adding the same code to CCLookup.

      Pull request #1216

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            nuncanada Flávio Botelho
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: