Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-4374

The jalview:// (or jalviewx://) scheme does not work when a port is specified

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Ready for testing
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.11.3.2, 2.11.3.3
    • Fix Version/s: 2.11.4, 2.12
    • Component/s: getdown, install4j
    • Labels:
    • Urgency:
      Nice to have

      Description

      The (possibly completely unused) jalview://, jalviews://, jalview[x]:// schemes that are registered when the desktop installer is used so that a URL of, e.g., jalviews://jalview.org/examples/uniref50.fa launches the application and opens https://jalview.org/examples/uniref50.fa.

      Getdown reassembles the hostport, path, fragment and querystring with an "http" (or "https") scheme, or if no host is given, simply adds the filename (starting with the initial '/') to be opened from the user-local filesystem if it exists.

      Unfortunately it doesn't add a colon between the host and port.

      This could be handled better using a new/cloned URI object simply with the scheme changed and then using URI.toString().

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              soares Ben Soares
              Reporter:
              soares Ben Soares
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: