Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-3730

Trailing slash causes the relative links not to be processed correctly

    XMLWordPrintable

Details

    • Linux/X11

    Description

      It seems that trailing slash causes the relative links not to be processed correctly.

      If, for example, there’s a root Updates.xml containing repositories with the following format:

      <Repository action="add" url="../embeddedlinux/b2qt_container" displayname="Repository display name" />

      And the repo structure is as follows:
       

      <repo base>
          windows_x86
              root
              embeddedlinux
                  b2qt_container
          linux_x64
              root
              embeddedlinux
            <etc...>
      

       

      When the --add-repository argument is passed to the online installer with a trailing slash (i.e. <repo base>/windows_x86/root/ ) the additional content does not show up in the selection list.

      However, the argument is passed without the trailing slash (or it’s populated in the "User Defined Repositories" list) - <repo base>/windows_x64/root - then the content is found correctly. The "../" in the link path appears to get ignored.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            installerteam Installer Team
            tiheikka Titta Heikkala
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes