Uploaded image for project: 'Repository'
  1. Repository
  2. REPOSITORY-25

Link to download a binary is not correct

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0
    • None
    • None
    • None

      Replace:

      return 'plugins/repository/binary/'wsp+path'/'property'?mime-type='+mime;

      by:

      return contextPath+workspaceURI+'/binary/'wsp+path'/'property'?mime-type='+mime;

      And add in index.xsl :

      <script type="text/javascript">var contextPath = "<xsl:value-of select="$contextPath"/>";</script>

            Unassigned Unassigned
            hugo Hugo Palacin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: