Uploaded image for project: 'Archiva'
  1. Archiva
  2. MRM-2053

Artifact download button always points to http

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

      While browsing repositories via the GUI, if you're navigating via a reverse proxy, the download button will keep pointing to `http`.

      I've setup baseUrl as supposed.

      <rest>
        <baseUrl>https://your-domain:port/</baseUrl>
      </rest> 

      Everything works as expected. Maven, works fine but while using the GUI the download button always point to `http` version.

      The error is probably in this file:

      https://github.com/apache/archiva/blob/27640503d662af3c7a583730d2a85b04fe18222f/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/search.html

      `<a href="${row.url}">`

      Thanks,
      Frankie

      Attachments

        Activity

          People

            Unassigned Unassigned
            frankielc Frankie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: